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:
parent
0d8345df66
commit
917f201f95
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user