aboutsummaryrefslogtreecommitdiff
path: root/src/make.bat
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2022-05-12 10:28:51 +0900
committerGopher Robot <gobot@golang.org>2022-05-12 13:50:51 +0000
commit917f201f952019988fd477565223c19352b4bb6a (patch)
tree508ecd16ccc34cfeeeee25557d4adb7c5f1f680b /src/make.bat
parent0d8345df6637b0fbd595eb8f7cb61be5ebeee314 (diff)
downloadgo-917f201f952019988fd477565223c19352b4bb6a.tar.gz
go-917f201f952019988fd477565223c19352b4bb6a.zip
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>
Diffstat (limited to 'src/make.bat')
-rw-r--r--src/make.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make.bat b/src/make.bat
index 0ba2dd57c5..8f43470819 100644
--- a/src/make.bat
+++ b/src/make.bat
@@ -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.