oops fix vs2015 msbuild detection

0.9.1.0-post-fixes
UbitUmarov 2018-11-27 17:31:59 +00:00
parent 834a8fac2f
commit aeba9c2394
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ if defined FOUNDGREP (
) )
rem try vs2015 rem try vs2015
FOR /F "usebackq tokens=1-3" %%A IN (`REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14" /v %VALUE_NAME% 2^>nul ^| %FINDCMD% "%VALUE_NAME%"`) DO ( FOR /F "usebackq tokens=1-3" %%A IN (`REG QUERY "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSBuild\ToolsVersions\14.0" /v %VALUE_NAME% 2^>nul ^| %FINDCMD% "%VALUE_NAME%"`) DO (
set ValueValue=%%C set ValueValue=%%C
goto :found goto :found
) )