diff --git a/platform/windows/Build.Tools/VSVars.bat b/platform/windows/Build.Tools/VSVars.bat index 14d6fbf21..67d5d2036 100644 --- a/platform/windows/Build.Tools/VSVars.bat +++ b/platform/windows/Build.Tools/VSVars.bat @@ -6,7 +6,7 @@ for %%V in ("%VS120COMNTOOLS%vsvars32.bat" ,"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat" ) do ( where signtool >nul 2>nul - if !errorlevel! neq 0 if exist %%V ( + if %errorlevel% neq 0 if exist %%V ( echo Using %%V call %%V )