Update-vendor: canonicalize pwd

This commit is contained in:
Tim Hockin 2021-01-20 11:10:47 -08:00
parent 187def4d4f
commit 91c401c964

View File

@ -18,6 +18,9 @@ set -o errexit
set -o nounset
set -o pipefail
# Go tools really don't like it if you have a symlink in `pwd`.
cd "$(pwd -P)"
KUBE_ROOT=$(dirname "${BASH_SOURCE[0]}")/..
source "${KUBE_ROOT}/hack/lib/init.sh"