Commit 14e69fc5 authored by Steve Dower's avatar Steve Dower

Issue #28573: Fixes issue with nested if blocks

parent 6c2e6de9
......@@ -139,13 +139,13 @@ if not "%CERTNAME%" EQU "" (
) else (
set CERTOPTS=
)
if not "%PGO%" EQU "" (
set PGOOPTS=--pgo-job "%PGO%"
) else (
set PGOOPTS=
)
if not "%SKIPBUILD%" EQU "1" (
if "%PGO%" EQU "" (
set PGOOPTS=
) else (
set PGOOPTS=--pgo --pgojob "%PGO%"
)
@echo call "%PCBUILD%build.bat" -e -p %BUILD_PLAT% -t %TARGET% %CERTOPTS% %PGOOPTS%
@call "%PCBUILD%build.bat" -e -p %BUILD_PLAT% -t %TARGET% %CERTOPTS% %PGOOPTS%
@if errorlevel 1 exit /B
@rem build.bat turns echo back on, so we disable it again
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment