Skip to content

Commit daf5975

Browse files
Quote MSBUILD_EXE and also use it
1 parent 81f904e commit daf5975

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/build.cmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ set MSBUILD_HOME=%WINDIR%\Microsoft.NET\Framework\v4.0.30319
66
rem MSBuild project file is located in the same directory as the current script
77
set MSBUILD_PROJECT=%~dp0\build.proj
88

9-
set MSBUILD_EXE=%MSBUILD_HOME%\msbuild.exe
9+
set MSBUILD_EXE="%MSBUILD_HOME%\msbuild.exe"
1010

1111
rem verify whether the version of MSBuild that we need is installed
1212
if not exist %MSBUILD_EXE% goto msbuild_missing
1313

1414
rem launch the build script
15-
call %MSBUILD_HOME%\msbuild.exe %MSBUILD_PROJECT% /verbosity:minimal /nologo
15+
call %MSBUILD_EXE% %MSBUILD_PROJECT% /verbosity:minimal /nologo
1616
if errorlevel 1 goto msbuild_failure
1717
goto :EOF
1818

0 commit comments

Comments
 (0)