Unverified Commit 7a98521d authored by ^_^void's avatar ^_^void Committed by GitHub

don't set GOROOT if already exist

parent 997eb799
......@@ -60,15 +60,18 @@ IF "%ERRORLEVEL%" == 1 (
EXIT 1
)
IF NOT EXIST %DIR%\go\bin\go.exe (
IF NOT EXIST %GOROOT% (
IF NOT EXIST %DIR%\go\bin\go.exe (
ECHO "Build the custom go"
PUSHD %DIR%\go\src
CALL make.bat
POPD
)
SET GOROOT=%DIR%\go
)
SET GOROOT=%DIR%\go
SET GOPATH=%DIR%
SET PATH=%GOROOT%\bin;%GOPATH%\bin;%PATH%
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment