verify-generated-files-remake.sh: fix BASH_SOURCE array.

pull/564/head
Ismo Puustinen 2019-01-31 15:53:04 +02:00
parent a1cc48bf59
commit fefdfc2ad7
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,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"
kube::util::ensure_clean_working_dir