diff options
author | Zachary Ware <zachary.ware@gmail.com> | 2017-09-08 11:21:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-08 11:21:06 -0700 |
commit | 1911cf3dd2ae67d600c166ba52872fdcf3e85824 (patch) | |
tree | 41f8a5aeb60a2639cb8c19b4f6acc6d4458d0787 /PCbuild | |
parent | b9a860f3bf80b0d4a6c25d0f2f6ef849d9bf3594 (diff) | |
download | cpython-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.bat | 2 |
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 |