File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -106,15 +106,15 @@ goto Terminate
106106
107107:MSVCVarsDone
108108REM Get the location of the current msbuild
109- powershell.exe -Command ((Get-Command msbuild.exe)[0].Path ^ | Split-Path -parent) > msbuild.txt
110- findstr /C:" Get-Command" msbuild.txt > nul 2 >& 1
109+ powershell.exe -Command ((Get-Command msbuild.exe)[0].Path ^ | Split-Path -parent) > " %SCRIPTDIR% \ msbuild.txt"
110+ findstr /C:" Get-Command" " %SCRIPTDIR% \ msbuild.txt" > nul 2 >& 1
111111if not ERRORLEVEL 1 (
112112 echo Error: Failed to get location of msbuild!
113- del /F /Q msbuild.txt > nul 2 >& 1
113+ del /F /Q " %SCRIPTDIR% \ msbuild.txt" > nul 2 >& 1
114114 goto Terminate
115115)
116- set /p MSBUILDDIR = < msbuild.txt
117- del /F /Q msbuild.txt > nul 2 >& 1
116+ set /p MSBUILDDIR = < " %SCRIPTDIR% \ msbuild.txt"
117+ del /F /Q " %SCRIPTDIR% \ msbuild.txt" > nul 2 >& 1
118118if " %MSVC_VER% " == " 15" (
119119 set VCTargetsPath = " ..\..\..\Common7\IDE\VC\VCTargets"
120120) else (
You can’t perform that action at this time.
0 commit comments