mirror of https://github.com/kubernetes/kops.git
Merge pull request #9851 from MaXinjian/shellcheck
fix "unbound variable" issue
This commit is contained in:
commit
cf0466bded
|
|
@ -47,7 +47,7 @@ export IFS=','; checks="${CHECKS[*]}"; unset IFS
|
||||||
# add it to the .staticcheck_failures blacklist
|
# add it to the .staticcheck_failures blacklist
|
||||||
IGNORE=(
|
IGNORE=(
|
||||||
)
|
)
|
||||||
export IFS='|'; ignore_pattern="^(${IGNORE[*]})\$"; unset IFS
|
export IFS='|'; ignore_pattern="^(${IGNORE[*]-})\$"; unset IFS
|
||||||
|
|
||||||
# Ensure that we find the binaries we build before anything else.
|
# Ensure that we find the binaries we build before anything else.
|
||||||
export GOBIN="${KOPS_ROOT}/_output/bin"
|
export GOBIN="${KOPS_ROOT}/_output/bin"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue