diff --git a/.evergreen/prepare-shell.sh b/.evergreen/prepare-shell.sh index 1875e230..cd8dc06a 100644 --- a/.evergreen/prepare-shell.sh +++ b/.evergreen/prepare-shell.sh @@ -4,8 +4,10 @@ [[ $- == *i* ]] || set -o xtrace [[ $- == *i* ]] || set -o errexit -export PROJECT_DIRECTORY="$(pwd)" -export DRIVERS_TOOLS="$PROJECT_DIRECTORY/.drivers-tools" +PROJECT_DIRECTORY="$(pwd)" +DRIVERS_TOOLS=$(cd .. && echo "$(pwd)/drivers-tools") +export PROJECT_DIRECTORY +export DRIVERS_TOOLS if [ ! -d "$DRIVERS_TOOLS" ]; then # Only clone driver tools if it does not exist