summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-11-15 01:51:51 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-11-15 01:51:51 (GMT)
commit9ee351fc1ee318199931028b8bcfff4954dd01f5 (patch)
treeae36c1604f5f0b756d8ad86d666c9446fed2acf2 /Tools
parent7ed2398448edf3298f70a7c6ee28b1d75a462f37 (diff)
parentde40e1218c8dff29ee9de634034e3ed7b3979c86 (diff)
downloadcpython-9ee351fc1ee318199931028b8bcfff4954dd01f5.zip
cpython-9ee351fc1ee318199931028b8bcfff4954dd01f5.tar.gz
cpython-9ee351fc1ee318199931028b8bcfff4954dd01f5.tar.bz2
Issue #28573: Fixes issue with nested if blocks
Diffstat (limited to 'Tools')
-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 75d9df2..1e01a8c 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