From: Steve Dower Date: Tue, 15 Nov 2016 01:51:42 +0000 (-0800) Subject: Issue #28573: Fixes issue with nested if blocks X-Git-Tag: v3.6.0b4~81 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=de40e1218c8dff29ee9de634034e3ed7b3979c86;p=thirdparty%2FPython%2Fcpython.git Issue #28573: Fixes issue with nested if blocks --- diff --git a/Tools/msi/buildrelease.bat b/Tools/msi/buildrelease.bat index 189bef22f2a4..47e4715c278c 100644 --- a/Tools/msi/buildrelease.bat +++ b/Tools/msi/buildrelease.bat @@ -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