From bfda8a966a2d5041f170e4b8fee554127a84c385 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Fri, 31 Mar 2017 15:19:07 -0400 Subject: [PATCH] zephyr-env.sh: unset PWD_OPT after using it Change-Id: I9d78983233097c725869c4467a20189e2b859bab Signed-off-by: Marti Bolivar --- zephyr-env.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/zephyr-env.sh b/zephyr-env.sh index 39656c59fdd..55e7bf6c70e 100644 --- a/zephyr-env.sh +++ b/zephyr-env.sh @@ -39,6 +39,7 @@ uname | grep -q -P "MINGW|MSYS" && PWD_OPT="-W" # identify OS source tree root directory export ZEPHYR_BASE=$( builtin cd "$( dirname "$DIR" )" && pwd ${PWD_OPT}) +unset PWD_OPT scripts_path=${ZEPHYR_BASE}/scripts scripts_path=$(echo "/$scripts_path" | sed 's/\\/\//g' | sed 's/://')