build: Treat MSYS2 build as a UNIX build

Since MSYS2 provides a UNIX-like environment, treating it as a Windows
build caused issues with the paths.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2017-05-19 10:16:33 +02:00 committed by Anas Nashif
commit d464929d2d
2 changed files with 1 additions and 2 deletions

View file

@ -35,7 +35,7 @@ fi
# .zephyrrc in your home directory. It will be automatically
# run (if it exists) by this script.
if uname | grep -q -P "MINGW|MSYS"; then
if uname | grep -q -P "MINGW"; then
win_build=1
PWD_OPT="-W"
else