diff options
Diffstat (limited to 'src/make.bat')
| -rw-r--r-- | src/make.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make.bat b/src/make.bat index 104fb485b4..814d12c300 100644 --- a/src/make.bat +++ b/src/make.bat @@ -73,7 +73,7 @@ if not exist ..\bin\tool mkdir ..\bin\tool if not "x%GOROOT_BOOTSTRAP%"=="x" goto bootstrapset
for /f "tokens=*" %%g in ('where go 2^>nul') do (
if "x%GOROOT_BOOTSTRAP%"=="x" (
- for /f "tokens=*" %%i in ('%%g env GOROOT 2^>nul') do (
+ for /f "tokens=*" %%i in ('"%%g" env GOROOT 2^>nul') do (
if /I not "%%i"=="%GOROOT_TEMP%" (
set GOROOT_BOOTSTRAP=%%i
)
|
