From b88195c5750c803e47dc5962da165876d7996b26 Mon Sep 17 00:00:00 2001 From: ds-ms Date: Thu, 24 Jan 2019 13:45:30 +0530 Subject: [PATCH] Fixes shellcheck failures run-in-gopath.sh, test-go.sh Signed-off-by: ds-ms fixes shellcheck in hack/print-workspace-status.sh, /hack/test-integration.sh Signed-off-by: ds-ms reverting test-go.sh test-integration.sh Signed-off-by: ds-ms Removing export Signed-off-by: ds-ms --- hack/.shellcheck_failures | 2 -- hack/print-workspace-status.sh | 2 +- hack/run-in-gopath.sh | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/hack/.shellcheck_failures b/hack/.shellcheck_failures index 07f643d7a3..b9dbbf43c2 100644 --- a/hack/.shellcheck_failures +++ b/hack/.shellcheck_failures @@ -104,8 +104,6 @@ ./hack/make-rules/update.sh ./hack/make-rules/verify.sh ./hack/make-rules/vet.sh -./hack/print-workspace-status.sh -./hack/run-in-gopath.sh ./hack/test-go.sh ./hack/test-integration.sh ./hack/test-update-storage-objects.sh diff --git a/hack/print-workspace-status.sh b/hack/print-workspace-status.sh index 3484730447..1d334f88a1 100755 --- a/hack/print-workspace-status.sh +++ b/hack/print-workspace-status.sh @@ -20,7 +20,7 @@ set -o errexit set -o nounset set -o pipefail -export KUBE_ROOT=$(dirname "${BASH_SOURCE}")/.. +KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/.. source "${KUBE_ROOT}/hack/lib/version.sh" kube::version::get_version_vars diff --git a/hack/run-in-gopath.sh b/hack/run-in-gopath.sh index e83dc2cd6e..e29bb175f5 100755 --- a/hack/run-in-gopath.sh +++ b/hack/run-in-gopath.sh @@ -23,7 +23,7 @@ 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" # This sets up a clean GOPATH and makes sure we are currently in it.