Issue #28573: Fixes issue with nested if blocks

This commit is contained in:
Steve Dower 2016-11-14 17:51:42 -08:00
parent 4468bed2fc
commit de40e1218c
1 changed files with 6 additions and 6 deletions

View File

@ -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