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>
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