diff --git a/build/common.sh b/build/common.sh index 383765cae5449..f7b97179ce200 100755 --- a/build/common.sh +++ b/build/common.sh @@ -19,6 +19,9 @@ set -o errexit set -o nounset set -o pipefail +# Unset CDPATH, having it set messes up with script import paths +unset CDPATH + USER_ID=$(id -u) GROUP_ID=$(id -g)