From 25d74c41549449c25f6f6e7fc55bfb6726d810ad Mon Sep 17 00:00:00 2001 From: DJLevel3 Date: Sun, 17 Aug 2025 10:37:44 -0600 Subject: [PATCH] Slight cleanup --- ci/build.sh | 2 +- ci/vcvars_export.bat | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ci/build.sh b/ci/build.sh index 992e8a3..925a067 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -44,7 +44,7 @@ fi if [ "$OS" = "win" ]; then VS_WHERE="C:/Program Files (x86)/Microsoft Visual Studio/Installer/vswhere.exe" - eval "$($(cygpath "$COMSPEC") /c$(cygpath -w "$ROOT/ci/vcvars_export.bat") bash)" + eval "$($(cygpath "$COMSPEC") /c$(cygpath -w "$ROOT/ci/vcvars_export.bat"))" MSBUILD_EXE=$("$VS_WHERE" -latest -requires Microsoft.Component.MSBuild -find "MSBuild\**\Bin\MSBuild.exe") echo $MSBUILD_EXE diff --git a/ci/vcvars_export.bat b/ci/vcvars_export.bat index 0cf62fe..b13ec1a 100644 --- a/ci/vcvars_export.bat +++ b/ci/vcvars_export.bat @@ -1,8 +1,7 @@ @echo off set VSWHERE="C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere" - for /f "tokens=*" %%i in ('%VSWHERE% -latest -property installationPath') do set VSWHERE2=%%i call "%VSWHERE2%\Common7\Tools\VsDevCmd.bat" > nul -"%1" -c "export -p" \ No newline at end of file +bash -c "export -p" \ No newline at end of file