Require Mercurial on PATH when building a Windows release.

Without it, we will generate invalid build information for sys.version
This commit is contained in:
Steve Dower 2015-02-06 09:02:54 -08:00
parent bf635492a7
commit 268f3de1db
1 changed files with 3 additions and 0 deletions

View File

@ -44,6 +44,9 @@ call "%D%..\..\doc\make.bat" htmlhelp
if errorlevel 1 goto :eof if errorlevel 1 goto :eof
:skipdoc :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" where dlltool 2>nul >"%TEMP%\dlltool.loc"
if errorlevel 1 dir "%D%..\..\externals\dlltool.exe" /s/b > "%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 if errorlevel 1 echo Cannot find binutils on PATH or in externals & exit /B 1