[Python-checkins] cpython (merge 3.6 -> default): Issue #28573: Fixes issue with nested if blocks
steve.dower
python-checkins at python.org
Mon Nov 14 20:52:00 EST 2016
https://hg.python.org/cpython/rev/35f510158490
changeset: 105119:35f510158490
parent: 105117:6f7a3a1a0a7d
parent: 105118:d997e64130bd
user: Steve Dower <steve.dower at microsoft.com>
date: Mon Nov 14 17:51:51 2016 -0800
summary:
Issue #28573: Fixes issue with nested if blocks
files:
Tools/msi/buildrelease.bat | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/Tools/msi/buildrelease.bat b/Tools/msi/buildrelease.bat
--- a/Tools/msi/buildrelease.bat
+++ b/Tools/msi/buildrelease.bat
@@ -139,13 +139,13 @@
) 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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list