fix shellcheck in test/integration/... and test/kubemark/...

This commit is contained in:
xichengliudui
2019-02-18 01:16:39 -05:00
parent 07a5488b2a
commit 641f883b82
5 changed files with 11 additions and 15 deletions

View File

@@ -18,13 +18,13 @@ set -o errexit
set -o nounset
set -o pipefail
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../../../
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/../../../
source "${KUBE_ROOT}/hack/lib/init.sh"
kube::golang::setup_env
DIR_BASENAME=$(dirname "${BASH_SOURCE}")
pushd ${DIR_BASENAME}
DIR_BASENAME=$(dirname "${BASH_SOURCE[0]}")
pushd "${DIR_BASENAME}"
cleanup() {
popd 2> /dev/null