summaryrefslogtreecommitdiff
path: root/PCbuild
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2017-09-08 11:21:06 -0700
committerGitHub <noreply@github.com>2017-09-08 11:21:06 -0700
commit1911cf3dd2ae67d600c166ba52872fdcf3e85824 (patch)
tree41f8a5aeb60a2639cb8c19b4f6acc6d4458d0787 /PCbuild
parentb9a860f3bf80b0d4a6c25d0f2f6ef849d9bf3594 (diff)
downloadcpython-git-1911cf3dd2ae67d600c166ba52872fdcf3e85824.tar.gz
[2.7] bpo-30450: Fall back on the old env.bat (GH-3443)
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/build.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/PCbuild/build.bat b/PCbuild/build.bat
index 13da4be440..b263ec7a65 100644
--- a/PCbuild/build.bat
+++ b/PCbuild/build.bat
@@ -101,7 +101,7 @@ if exist "%GIT%" set GITProperty=/p:GIT="%GIT%"
rem Setup the environment
call "%dir%find_msbuild.bat" %MSBUILD%
-if ERRORLEVEL 1 (echo Cannot locate MSBuild.exe on PATH or as MSBUILD variable & exit /b 2)
+if ERRORLEVEL 1 (call "%dir%env.bat" && set MSBUILD=msbuild)
if "%kill%"=="true" call :Kill