fix some shellcheck failures in hack

This commit is contained in:
SataQiu
2019-02-22 10:49:15 +08:00
parent 9dbc8912d9
commit d357bcd2cd
5 changed files with 6 additions and 8 deletions

View File

@@ -18,7 +18,8 @@ set -o errexit
set -o pipefail
set -o nounset
export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
export KUBE_ROOT
source "${KUBE_ROOT}/hack/lib/init.sh"
source "${KUBE_ROOT}/hack/lib/logging.sh"