diff options
author | Steve Dower <steve.dower@microsoft.com> | 2016-11-15 01:51:51 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2016-11-15 01:51:51 (GMT) |
commit | 9ee351fc1ee318199931028b8bcfff4954dd01f5 (patch) | |
tree | ae36c1604f5f0b756d8ad86d666c9446fed2acf2 /Tools | |
parent | 7ed2398448edf3298f70a7c6ee28b1d75a462f37 (diff) | |
parent | de40e1218c8dff29ee9de634034e3ed7b3979c86 (diff) | |
download | cpython-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.bat | 12 |
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
|