fix some shellcheck failures of cluster/*.sh

This commit is contained in:
SataQiu
2019-04-04 23:20:52 +08:00
parent 4da579b68a
commit bc279da872
8 changed files with 8 additions and 8 deletions

View File

@@ -24,7 +24,7 @@ set -o errexit
set -o nounset
set -o pipefail
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
if [ -f "${KUBE_ROOT}/cluster/env.sh" ]; then
source "${KUBE_ROOT}/cluster/env.sh"