build: changes order in which paths are added to $PATH

MinGW expects to have new program locations added to
the end of the PATH variable.

Change-Id: Ifd31b63c9ef39a7f2b416ffef39461290c822dd7
Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@intel.com>
Signed-off-by: Yonattan Louise <yonattan.a.louise.mendoza@intel.com>
This commit is contained in:
Juan Manuel Cruz 2016-02-11 13:12:00 -06:00 committed by Gerrit Code Review
parent 99198e794a
commit 8dad8eeffa

View file

@ -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