From 6cdec82868bf14cc0016b037687e58e8515c5fc2 Mon Sep 17 00:00:00 2001 From: Maciej Pytel Date: Tue, 17 Jul 2018 15:06:32 +0200 Subject: [PATCH] Unset CDPATH in build scripts --- build/common.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/common.sh b/build/common.sh index 383765cae54..f7b97179ce2 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)