From 09ae62ac9eee643e7712d50f7519faf84f4a5f31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Sat, 27 Jan 2024 17:25:42 +0100 Subject: [PATCH] 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. --- .github/vs-env.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/vs-env.sh b/.github/vs-env.sh index dbbff2245..24e870681 100755 --- a/.github/vs-env.sh +++ b/.github/vs-env.sh @@ -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