Skip to content

Commit 78e272a

Browse files
committed
fix shellcheck failures on kube-down.sh kubeadm.sh get-build.sh
1 parent 30c7df5 commit 78e272a

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

cluster/kube-down.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ set -o errexit
2020
set -o nounset
2121
set -o pipefail
2222

23-
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
23+
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
2424

2525
if [ -f "${KUBE_ROOT}/cluster/env.sh" ]; then
2626
source "${KUBE_ROOT}/cluster/env.sh"

cluster/kubeadm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set -o errexit
1818
set -o nounset
1919
set -o pipefail
2020

21-
KUBE_ROOT=${KUBE_ROOT:-$(dirname "${BASH_SOURCE}")/..}
21+
KUBE_ROOT=${KUBE_ROOT:-$(dirname "${BASH_SOURCE[0]}")/..}
2222
source "${KUBE_ROOT}/cluster/clientbin.sh"
2323

2424
# If KUBEADM_PATH isn't set, gather up the list of likely places and use ls

hack/.shellcheck_failures

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@
2424
./cluster/images/etcd-empty-dir-cleanup/etcd-empty-dir-cleanup.sh
2525
./cluster/juju/prereqs/ubuntu-juju.sh
2626
./cluster/juju/util.sh
27-
./cluster/kube-down.sh
2827
./cluster/kube-up.sh
2928
./cluster/kube-util.sh
30-
./cluster/kubeadm.sh
3129
./cluster/kubectl.sh
3230
./cluster/kubemark/gce/config-default.sh
3331
./cluster/kubemark/iks/config-default.sh
@@ -54,7 +52,6 @@
5452
./hack/e2e-node-test.sh
5553
./hack/generate-bindata.sh
5654
./hack/generate-docs.sh
57-
./hack/get-build.sh
5855
./hack/ginkgo-e2e.sh
5956
./hack/godep-restore.sh
6057
./hack/godep-save.sh

hack/get-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ set -o errexit
1818
set -o nounset
1919
set -o pipefail
2020

21-
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
21+
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
2222

2323
source "${KUBE_ROOT}/cluster/common.sh"
2424

0 commit comments

Comments
 (0)