Skip to content

Commit 1911cf3

Browse files
authored
[2.7] bpo-30450: Fall back on the old env.bat (GH-3443)
1 parent b9a860f commit 1911cf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PCbuild/build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ if exist "%GIT%" set GITProperty=/p:GIT="%GIT%"
101101

102102
rem Setup the environment
103103
call "%dir%find_msbuild.bat" %MSBUILD%
104-
if ERRORLEVEL 1 (echo Cannot locate MSBuild.exe on PATH or as MSBUILD variable & exit /b 2)
104+
if ERRORLEVEL 1 (call "%dir%env.bat" && set MSBUILD=msbuild)
105105

106106
if "%kill%"=="true" call :Kill
107107

0 commit comments

Comments
 (0)