diff --git a/build/release-in-a-container.sh b/build/release-in-a-container.sh index a160fe927b..e21d2ad17d 100755 --- a/build/release-in-a-container.sh +++ b/build/release-in-a-container.sh @@ -18,7 +18,7 @@ set -o nounset set -o pipefail # Complete the release with the standard env -KUBE_ROOT=$(dirname "${BASH_SOURCE}")/.. +KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. # Check and error if not "in-a-container" if [[ ! -f /.dockerenv ]]; then @@ -46,4 +46,4 @@ if [[ $KUBE_RELEASE_RUN_TESTS =~ ^[yY]$ ]]; then make test fi -$KUBE_ROOT/build/package-tarballs.sh +"${KUBE_ROOT}/build/package-tarballs.sh" diff --git a/hack/.shellcheck_failures b/hack/.shellcheck_failures index c52a1c9d1f..34a50fc5c6 100644 --- a/hack/.shellcheck_failures +++ b/hack/.shellcheck_failures @@ -4,7 +4,6 @@ ./build/make-build-image.sh ./build/make-clean.sh ./build/package-tarballs.sh -./build/release-in-a-container.sh ./build/util.sh ./cluster/addons/addon-manager/kube-addons.sh ./cluster/addons/fluentd-elasticsearch/es-image/run.sh