summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2017-03-04 05:20:37 (GMT)
committerGitHub <noreply@github.com>2017-03-04 05:20:37 (GMT)
commita0c07d2edd345d2867f97ac31822c9544f9cbcf0 (patch)
treeee1449a5076df1ec37c30ed956b96e17f29a0f6e /Tools
parent5c4b0d063aba0a68c325073f5f312a2c9f40d178 (diff)
downloadcpython-a0c07d2edd345d2867f97ac31822c9544f9cbcf0.zip
cpython-a0c07d2edd345d2867f97ac31822c9544f9cbcf0.tar.gz
cpython-a0c07d2edd345d2867f97ac31822c9544f9cbcf0.tar.bz2
bpo-27593: Updates Windows build to use information from git (#262)
* bpo-27593: Updates Windows build to use information from git
Diffstat (limited to 'Tools')
-rw-r--r--Tools/msi/buildrelease.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/msi/buildrelease.bat b/Tools/msi/buildrelease.bat
index d144c2c..4247f77 100644
--- a/Tools/msi/buildrelease.bat
+++ b/Tools/msi/buildrelease.bat
@@ -65,8 +65,8 @@ if "%1" NEQ "" echo Invalid option: "%1" && exit /B 1
if not defined BUILDX86 if not defined BUILDX64 (set BUILDX86=1) && (set BUILDX64=1)
-if not exist "%HG%" where hg > "%TEMP%\hg.loc" 2> nul && set /P HG= < "%TEMP%\hg.loc" & del "%TEMP%\hg.loc"
-if not exist "%HG%" echo Cannot find Mercurial on PATH && exit /B 1
+if not exist "%GIT%" where git > "%TEMP%\git.loc" 2> nul && set /P GIT= < "%TEMP%\git.loc" & del "%TEMP%\git.loc"
+if not exist "%GIT%" echo Cannot find Git on PATH && exit /B 1
call "%D%get_externals.bat"