summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-11-14 17:51:42 -0800
committerSteve Dower <steve.dower@microsoft.com>2016-11-14 17:51:42 -0800
commit109c5479d5dd1ad9fc68484f81b5e27e05b25abc (patch)
tree22d4d77acda5b322106a2d7d290dbebf1fb27db0 /Tools
parent848c392d9bc4359aa60a832f9dbce0514db22eea (diff)
downloadcpython-109c5479d5dd1ad9fc68484f81b5e27e05b25abc.tar.gz
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 189bef22f2..47e4715c27 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