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

@@ -63,7 +63,7 @@ readonly max_dump_processes=25
# TODO: Get rid of all the sourcing of bash dependencies eventually.
function setup() {
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../..
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../..
if [[ -z "${use_custom_instance_list}" ]]; then
: ${KUBE_CONFIG_FILE:="config-test.sh"}
echo "Sourcing kube-util.sh"