Make sure vs-env.sh actually found vs
Because of course vcvarsall.bat doesn't bother to set a nonzero exit code even if it fails.
This commit is contained in:
parent
622df75c29
commit
09ae62ac9e
3
.github/vs-env.sh
vendored
3
.github/vs-env.sh
vendored
@ -24,5 +24,8 @@ IFS=$'\t\n'
|
||||
for i in $(MSYS_NO_PATHCONV=1 cmd /c "$vs_install_dir\\VC\\Auxiliary\\Build\\vcvarsall.bat" $VS_ENV_PARAMS \& env \& exit /b); do
|
||||
set +e
|
||||
export "$i" 2>/dev/null
|
||||
echo $i | grep ERROR
|
||||
set -e
|
||||
done
|
||||
|
||||
cl
|
||||
|
Loading…
Reference in New Issue
Block a user