diff options
author | Tanner Gooding <tagoo@microsoft.com> | 2017-03-10 10:11:23 -0800 |
---|---|---|
committer | Tanner Gooding <tagoo@microsoft.com> | 2017-03-13 09:03:16 -0700 |
commit | c713242ef368e5fea00584e1de17993503be4127 (patch) | |
tree | 7b7e08f3e704303d02aa59baa8e1092209e3fd96 | |
parent | 0ce065c5f28f840f02c9621a45bb9e3daed87e1e (diff) | |
download | coreclr-c713242ef368e5fea00584e1de17993503be4127.tar.gz coreclr-c713242ef368e5fea00584e1de17993503be4127.tar.bz2 coreclr-c713242ef368e5fea00584e1de17993503be4127.zip |
Updating tests/runtest.cmd to use delayed expansion for instances of `_msbuildexe`
-rw-r--r-- | tests/runtest.cmd | 2 |
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? |