Skip to content

Commit 0311c4d

Browse files
committed
fix some shellcheck failures in hack
1 parent f99728e commit 0311c4d

File tree

7 files changed

+7
-15
lines changed

7 files changed

+7
-15
lines changed

hack/.shellcheck_failures

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@
3939
./cluster/test-smoke.sh
4040
./cluster/update-storage-objects.sh
4141
./cluster/validate-cluster.sh
42-
./hack/benchmark-go.sh
43-
./hack/build-cross.sh
44-
./hack/build-go.sh
4542
./hack/cherry_pick_pull.sh
4643
./hack/generate-bindata.sh
4744
./hack/generate-docs.sh
@@ -79,10 +76,8 @@
7976
./hack/make-rules/update.sh
8077
./hack/make-rules/verify.sh
8178
./hack/make-rules/vet.sh
82-
./hack/test-go.sh
8379
./hack/test-integration.sh
8480
./hack/test-update-storage-objects.sh
85-
./hack/update-all.sh
8681
./hack/update-bazel.sh
8782
./hack/update-codegen.sh
8883
./hack/update-generated-device-plugin-dockerized.sh
@@ -106,7 +101,6 @@
106101
./hack/update-staging-godeps.sh
107102
./hack/update-translations.sh
108103
./hack/update-workspace-mirror.sh
109-
./hack/verify-all.sh
110104
./hack/verify-api-groups.sh
111105
./hack/verify-boilerplate.sh
112106
./hack/verify-cli-conventions.sh

hack/benchmark-go.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ set -o errexit
1818
set -o nounset
1919
set -o pipefail
2020

21-
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
22-
2321
make test \
2422
WHAT="$*" \
2523
KUBE_COVER="" \

hack/build-cross.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
echo "NOTE: $0 has been replaced by 'make cross'"
2626
echo

hack/build-go.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ 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
# For help output
2626
ARGHELP=""
2727
if [[ "$#" -gt 0 ]]; then
28-
ARGHELP="WHAT='$@'"
28+
ARGHELP="WHAT='$*'"
2929
fi
3030

3131
echo "NOTE: $0 has been replaced by 'make' or 'make all'"

hack/test-go.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ 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
# For help output
2626
ARGHELP=""
2727
if [[ "$#" -gt 0 ]]; then
28-
ARGHELP="WHAT='$@'"
28+
ARGHELP="WHAT='$*'"
2929
fi
3030

3131
echo "NOTE: $0 has been replaced by 'make test'"

hack/update-all.sh

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

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

2626
echo "NOTE: $0 has been replaced by 'make update'"
2727
echo

hack/verify-all.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
# For help output
2626
ARGHELP=""

0 commit comments

Comments
 (0)