1
0
mirror of https://github.com/golang/go synced 2024-11-26 16:57:14 -07:00

make.bat: call env.bat with .\env.bat

When set NoDefaultCurrentDirectoryInExePath=1, call env.bat does not work.

Change-Id: If63b02e236079681bdadadbdebc0b39abce01219
Reviewed-on: https://go-review.googlesource.com/c/go/+/405774
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
This commit is contained in:
Yasuhiro Matsumoto 2022-05-12 10:28:51 +09:00 committed by Gopher Robot
parent 0d8345df66
commit 917f201f95

View File

@ -105,7 +105,7 @@ endlocal
if errorlevel 1 goto fail
.\cmd\dist\dist.exe env -w -p >env.bat
if errorlevel 1 goto fail
call env.bat
call .\env.bat
del env.bat
if x%vflag==x-v echo.