Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 8337aa4

Browse files
tannergoodingjkotas
authored andcommitted
Updating the build script to work when python is installed to a path containing a space. (#15707)
1 parent ec76b8a commit 8337aa4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

build.cmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -411,13 +411,13 @@ if /i "%__BuildNative%"=="1" (
411411

412412
echo %__MsgPrefix%Laying out dynamically generated files consumed by the native build system
413413
echo %__MsgPrefix%Laying out dynamically generated Event test files and etmdummy stub functions
414-
!PYTHON! -B -Wall %__SourceDir%\scripts\genEventing.py --inc %__IntermediatesIncDir% --dummy %__IntermediatesIncDir%\etmdummy.h --man %__SourceDir%\vm\ClrEtwAll.man --nonextern || exit /b 1
414+
"!PYTHON!" -B -Wall %__SourceDir%\scripts\genEventing.py --inc %__IntermediatesIncDir% --dummy %__IntermediatesIncDir%\etmdummy.h --man %__SourceDir%\vm\ClrEtwAll.man --nonextern || exit /b 1
415415

416416
echo %__MsgPrefix%Laying out dynamically generated EventPipe Implementation
417-
!PYTHON! -B -Wall %__SourceDir%\scripts\genEventPipe.py --man %__SourceDir%\vm\ClrEtwAll.man --intermediate %__IntermediatesEventingDir%\eventpipe --nonextern || exit /b 1
417+
"!PYTHON!" -B -Wall %__SourceDir%\scripts\genEventPipe.py --man %__SourceDir%\vm\ClrEtwAll.man --intermediate %__IntermediatesEventingDir%\eventpipe --nonextern || exit /b 1
418418

419419
echo %__MsgPrefix%Laying out ETW event logging interface
420-
!PYTHON! -B -Wall %__SourceDir%\scripts\genEtwProvider.py --man %__SourceDir%\vm\ClrEtwAll.man --intermediate %__IntermediatesIncDir% --exc %__SourceDir%\vm\ClrEtwAllMeta.lst || exit /b 1
420+
"!PYTHON!" -B -Wall %__SourceDir%\scripts\genEtwProvider.py --man %__SourceDir%\vm\ClrEtwAll.man --intermediate %__IntermediatesIncDir% --exc %__SourceDir%\vm\ClrEtwAllMeta.lst || exit /b 1
421421
)
422422

423423
if /i "%__DoCrossArchBuild%"=="1" (
@@ -431,13 +431,13 @@ if /i "%__DoCrossArchBuild%"=="1" (
431431

432432
echo %__MsgPrefix%Laying out dynamically generated files consumed by the crossarch build system
433433
echo %__MsgPrefix%Laying out dynamically generated Event test files and etmdummy stub functions
434-
!PYTHON! -B -Wall %__SourceDir%\scripts\genEventing.py --inc !__CrossCompIntermediatesIncDir! --dummy !__CrossCompIntermediatesIncDir!\etmdummy.h --man %__SourceDir%\vm\ClrEtwAll.man --nonextern || exit /b 1
434+
"!PYTHON!" -B -Wall %__SourceDir%\scripts\genEventing.py --inc !__CrossCompIntermediatesIncDir! --dummy !__CrossCompIntermediatesIncDir!\etmdummy.h --man %__SourceDir%\vm\ClrEtwAll.man --nonextern || exit /b 1
435435

436436
echo %__MsgPrefix%Laying out dynamically generated EventPipe Implementation
437-
!PYTHON! -B -Wall %__SourceDir%\scripts\genEventPipe.py --man %__SourceDir%\vm\ClrEtwAll.man --intermediate !__CrossCompIntermediatesEventingDir!\eventpipe --nonextern || exit /b 1
437+
"!PYTHON!" -B -Wall %__SourceDir%\scripts\genEventPipe.py --man %__SourceDir%\vm\ClrEtwAll.man --intermediate !__CrossCompIntermediatesEventingDir!\eventpipe --nonextern || exit /b 1
438438

439439
echo %__MsgPrefix%Laying out ETW event logging interface
440-
!PYTHON! -B -Wall %__SourceDir%\scripts\genEtwProvider.py --man %__SourceDir%\vm\ClrEtwAll.man --intermediate !__CrossCompIntermediatesIncDir! --exc %__SourceDir%\vm\ClrEtwAllMeta.lst || exit /b 1
440+
"!PYTHON!" -B -Wall %__SourceDir%\scripts\genEtwProvider.py --man %__SourceDir%\vm\ClrEtwAll.man --intermediate !__CrossCompIntermediatesIncDir! --exc %__SourceDir%\vm\ClrEtwAllMeta.lst || exit /b 1
441441
)
442442

443443
REM =========================================================================================

0 commit comments

Comments
 (0)