mirror of https://github.com/istio/istio.io.git
Fix scripts for shellcheck 0.8 (#11051)
* Fix scripts for shellcheck 0.8 * Updates needed for hugo and shell check * Ignore hugo build lock
This commit is contained in:
parent
c702c2d96f
commit
f845e59bea
|
@ -1,3 +1,6 @@
|
|||
# hugo artifacts
|
||||
.hugo_build.lock
|
||||
|
||||
# Eclipse artifacts
|
||||
.project
|
||||
.pydevproject
|
||||
|
@ -34,4 +37,4 @@ out/**
|
|||
go/**
|
||||
|
||||
# archived site version
|
||||
archived_version
|
||||
archived_version
|
||||
|
|
|
@ -274,4 +274,8 @@ disableAliases = true
|
|||
weight = 5
|
||||
|
||||
[permalinks]
|
||||
case-studies = "/:slug"
|
||||
case-studies = "/:slug"
|
||||
|
||||
[security]
|
||||
[security.funcs]
|
||||
getenv = ['^HUGO_','URL']
|
||||
|
|
|
@ -107,7 +107,7 @@ SKIP_LANGS=( en zh pt-br )
|
|||
for lang in $LANGS; do
|
||||
for i in "${!SKIP_LANGS[@]}"; do
|
||||
if [[ "${SKIP_LANGS[$i]}" = "${lang}" ]]; then
|
||||
unset SKIP_LANGS["${i}"]
|
||||
unset 'SKIP_LANGS[${i}]'
|
||||
fi
|
||||
done
|
||||
SKIP_LANGS=( "${SKIP_LANGS[@]}" )
|
||||
|
|
Loading…
Reference in New Issue