win-build: corrects scripts_path for windows build.
Corrects the format for scripts_path from C:/ to /c/ to be added to PATH correctly. Change-Id: I2668dff2b9b6f20a25651f629c7a134e9426ee97 Signed-off-by: Sonia Leon Bautista <sonia.leon.bautista@intel.com>
This commit is contained in:
parent
c5248a9d26
commit
e4db6c7af5
|
@ -51,6 +51,7 @@ uname | grep -q MINGW && MINGW_OPT="-W"
|
|||
export ZEPHYR_BASE=$( builtin cd "$( dirname "$DIR" )" && pwd ${MINGW_OPT})
|
||||
|
||||
scripts_path=${ZEPHYR_BASE}/scripts
|
||||
scripts_path=$(echo "/$scripts_path" | sed 's/\\/\//g' | sed 's/://')
|
||||
echo "${PATH}" | grep -q "${scripts_path}"
|
||||
[ $? != 0 ] && export PATH=${scripts_path}:${PATH}
|
||||
unset scripts_path
|
||||
|
|
Loading…
Reference in a new issue