zephyr-env.sh: unset PWD_OPT after using it

Change-Id: I9d78983233097c725869c4467a20189e2b859bab
Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
This commit is contained in:
Marti Bolivar 2017-03-31 15:19:07 -04:00
parent e3a31263ce
commit bfda8a966a

View file

@ -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/://')