summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-11-15 01:51:42 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-11-15 01:51:42 (GMT)
commitde40e1218c8dff29ee9de634034e3ed7b3979c86 (patch)
tree80a3d1a6031bae6988d6d9238ae15d6214754c8b
parent4468bed2fcb29e614847b8576b36344c99f3552e (diff)
downloadcpython-de40e1218c8dff29ee9de634034e3ed7b3979c86.zip
cpython-de40e1218c8dff29ee9de634034e3ed7b3979c86.tar.gz
cpython-de40e1218c8dff29ee9de634034e3ed7b3979c86.tar.bz2
Issue #28573: Fixes issue with nested if blocks
-rw-r--r--Tools/msi/buildrelease.bat12
1 files changed, 6 insertions, 6 deletions
diff --git a/Tools/msi/buildrelease.bat b/Tools/msi/buildrelease.bat
index 189bef2..47e4715 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