From 1911cf3dd2ae67d600c166ba52872fdcf3e85824 Mon Sep 17 00:00:00 2001 From: Zachary Ware Date: Fri, 8 Sep 2017 11:21:06 -0700 Subject: [2.7] bpo-30450: Fall back on the old env.bat (GH-3443) --- PCbuild/build.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PCbuild/build.bat b/PCbuild/build.bat index 13da4be..b263ec7 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 -- cgit v0.12