diff options
author | Steve Dower <steve.dower@microsoft.com> | 2015-02-06 17:02:54 (GMT) |
---|---|---|
committer | Steve Dower <steve.dower@microsoft.com> | 2015-02-06 17:02:54 (GMT) |
commit | 268f3de1db67098ed4e4b96110159190667a1147 (patch) | |
tree | 3a2f72a25fbfda902094a84462c15e1daa2723ad /Tools/msi/buildrelease.bat | |
parent | bf635492a73a93d430bb15c460bc23e88e87ea59 (diff) | |
download | cpython-268f3de1db67098ed4e4b96110159190667a1147.zip cpython-268f3de1db67098ed4e4b96110159190667a1147.tar.gz cpython-268f3de1db67098ed4e4b96110159190667a1147.tar.bz2 |
Require Mercurial on PATH when building a Windows release.
Without it, we will generate invalid build information for sys.version
Diffstat (limited to 'Tools/msi/buildrelease.bat')
-rw-r--r-- | Tools/msi/buildrelease.bat | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/msi/buildrelease.bat b/Tools/msi/buildrelease.bat index b39f13e..d441250 100644 --- a/Tools/msi/buildrelease.bat +++ b/Tools/msi/buildrelease.bat @@ -44,6 +44,9 @@ call "%D%..\..\doc\make.bat" htmlhelp if errorlevel 1 goto :eof :skipdoc +where hg >nul 2>nul +if errorlevel 1 echo Cannot find hg on PATH & exit /B 1 + where dlltool 2>nul >"%TEMP%\dlltool.loc" if errorlevel 1 dir "%D%..\..\externals\dlltool.exe" /s/b > "%TEMP%\dlltool.loc" if errorlevel 1 echo Cannot find binutils on PATH or in externals & exit /B 1 |