]> Cypherpunks.ru repositories - gostls13.git/commitdiff
make.bat: call env.bat with .\env.bat
authorYasuhiro Matsumoto <mattn.jp@gmail.com>
Thu, 12 May 2022 01:28:51 +0000 (10:28 +0900)
committerGopher Robot <gobot@golang.org>
Thu, 12 May 2022 13:50:51 +0000 (13:50 +0000)
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>

src/make.bat

index 0ba2dd57c5a0181929c0344d62172486f578449a..8f434708196761b0acc1c7b0014066c03b6cfb7e 100644 (file)
@@ -105,7 +105,7 @@ endlocal
 if errorlevel 1 goto fail\r
 .\cmd\dist\dist.exe env -w -p >env.bat\r
 if errorlevel 1 goto fail\r
-call env.bat\r
+call .\env.bat\r
 del env.bat\r
 if x%vflag==x-v echo.\r
 \r