File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1- @ call %~dp0 run.cmd build %*
1+ @ call " %~dp0 run.cmd" build %*
22@ exit /b %ERRORLEVEL%
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ set DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
1111set DOTNET_MULTILEVEL_LOOKUP = 0
1212
1313:: Restore the Tools directory
14- call %~dp0 init-tools.cmd
14+ call " %~dp0 init-tools.cmd"
1515if NOT [%ERRORLEVEL% ]== [0] exit /b 1
1616
1717set _toolRuntime = %~dp0 Tools
@@ -21,8 +21,8 @@ set _json=%~dp0config.json
2121:: run.exe depends on running in the root directory, notably because the config.json specifies
2222:: a relative path to the binclash logger
2323
24- pushd %~dp0
25- call %_dotnet% %_toolRuntime% \run.exe " %_json% " %*
24+ pushd " %~dp0 "
25+ call " %_dotnet% " " %_toolRuntime% \run.exe" " %_json% " %*
2626popd
2727
2828exit /b %ERRORLEVEL%
Original file line number Diff line number Diff line change 2727goto :Arg_Loop
2828
2929:ToolsVersion
30-
3130if defined VisualStudioVersion goto :RunVCVars
3231
3332set _VSWHERE = " %ProgramFiles(x86)% \Microsoft Visual Studio\Installer\vswhere.exe"
@@ -37,7 +36,8 @@ if exist %_VSWHERE% (
3736if not exist " %_VSCOMNTOOLS% " set _VSCOMNTOOLS = %VS140COMNTOOLS%
3837if not exist " %_VSCOMNTOOLS% " goto :MissingVersion
3938
40- set VSCMD_START_DIR = " %__currentScriptDir% "
39+
40+ set " VSCMD_START_DIR = %__currentScriptDir% "
4141call " %_VSCOMNTOOLS% \VsDevCmd.bat"
4242
4343:RunVCVars
@@ -92,8 +92,8 @@ if not exist "%__IntermediatesDir%" md "%__IntermediatesDir%"
9292
9393:: Regenerate the VS solution
9494
95- set __gen-buildsys-win-path = %__currentScriptDir% \gen-buildsys-win.bat
96- set __source-code-path = %__currentScriptDir%
95+ set " __gen-buildsys-win-path = %__currentScriptDir% \gen-buildsys-win.bat"
96+ set " __source-code-path = %__currentScriptDir% "
9797
9898echo Calling " %__gen-buildsys-win-path% " " %__source-code-path% " " %__VSVersion% " %__BuildArch%
9999pushd " %__IntermediatesDir% "
Original file line number Diff line number Diff line change 4444
4545 <!-- Run script that invokes Cmake to create VS files, and then calls msbuild to compile them -->
4646 <Message Text =" $(MSBuildProjectDirectory)\build.cmd $(BuildArgs)" Importance =" High" />
47- <Exec Command =" $(MSBuildProjectDirectory)\build.cmd $(BuildArgs)" />
47+ <Exec Command =" " $(MSBuildProjectDirectory)\build.cmd" $(BuildArgs)" />
4848
4949 </Target >
5050
You can’t perform that action at this time.
0 commit comments