add workaround in update-codegen.sh for problem seen when run on linux
This commit is contained in:
parent
a7bd494ec3
commit
8faf3b0e26
@ -40,6 +40,9 @@ if [[ "${#KUBE_VERSIONS[@]}" -ne 1 ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Add this to the git config inside the container to avoid permission errors when running this script on linux.
|
||||
git config --global --add safe.directory /work
|
||||
|
||||
# Link the root directory into GOPATH since that is where output ends up.
|
||||
GOPATH_ROOT="${GOPATH}/src/${BASE_PKG}"
|
||||
mkdir -p "$(dirname "${GOPATH_ROOT}")"
|
||||
|
Loading…
Reference in New Issue
Block a user