summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Forstall <brucefo@microsoft.com>2017-03-10 22:48:35 -0800
committerBruce Forstall <brucefo@microsoft.com>2017-03-10 22:48:35 -0800
commitc44dcf24232afd8f3c3f396a7d6cf5f5af0c3baf (patch)
tree7b7e08f3e704303d02aa59baa8e1092209e3fd96
parent0ce065c5f28f840f02c9621a45bb9e3daed87e1e (diff)
downloadcoreclr-c44dcf24232afd8f3c3f396a7d6cf5f5af0c3baf.tar.gz
coreclr-c44dcf24232afd8f3c3f396a7d6cf5f5af0c3baf.tar.bz2
coreclr-c44dcf24232afd8f3c3f396a7d6cf5f5af0c3baf.zip
Fix delayed expansion scripting error in runtest.cmd
-rw-r--r--tests/runtest.cmd2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtest.cmd b/tests/runtest.cmd
index e54349c37f..9d54289912 100644
--- a/tests/runtest.cmd
+++ b/tests/runtest.cmd
@@ -120,7 +120,7 @@ if /i "%__VSVersion%" == "vs2017" (
set "__VCToolsRoot=%VS140COMNTOOLS%\..\..\VC"
set _msbuildexe="%ProgramFiles(x86)%\MSBuild\14.0\Bin\MSBuild.exe"
- if not exist %_msbuildexe% set _msbuildexe="%ProgramFiles%\MSBuild\14.0\Bin\MSBuild.exe"
+ if not exist !_msbuildexe! set _msbuildexe="%ProgramFiles%\MSBuild\14.0\Bin\MSBuild.exe"
)
:: Does VS really exist?