Skip to content

Commit

Permalink
zephyr-env.sh: unset PWD_OPT after using it
Browse files Browse the repository at this point in the history
Change-Id: I9d78983233097c725869c4467a20189e2b859bab
Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
  • Loading branch information
Marti Bolivar committed Mar 31, 2017
1 parent e3a3126 commit bfda8a9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zephyr-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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/://')
Expand Down

0 comments on commit bfda8a9

Please sign in to comment.