Skip to content

Commit

Permalink
build: changes order in which paths are added to $PATH
Browse files Browse the repository at this point in the history
MinGW expects to have new program locations added to
the end of the PATH variable.

Change-Id: Ifd31b63c9ef39a7f2b416ffef39461290c822dd7
Signed-off-by: Juan Manuel Cruz <[email protected]>
Signed-off-by: Yonattan Louise <[email protected]>
  • Loading branch information
jmnlcruz authored and Gerrit Code Review committed Feb 12, 2016
1 parent 99198e7 commit 8dad8ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zephyr-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export ZEPHYR_BASE=$( builtin cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ${MIN

scripts_path=${ZEPHYR_BASE}/scripts
echo "${PATH}" | grep -q "${scripts_path}"
[ $? != 0 ] && export PATH=${scripts_path}:${PATH}
[ $? != 0 ] && export PATH=${PATH}:${scripts_path}
unset scripts_path

# enable custom environment settings
Expand Down

0 comments on commit 8dad8ee

Please sign in to comment.