Unverified Commit d3fd0945 authored by Max Lv's avatar Max Lv Committed by GitHub

Merge pull request #1982 from xmh19936688/patch-1

don't set GOROOT if already exist
parents 997eb799 4bb27a3b
......@@ -60,15 +60,12 @@ IF "%ERRORLEVEL%" == 1 (
EXIT 1
)
IF NOT EXIST %DIR%\go\bin\go.exe (
ECHO "Build the custom go"
PUSHD %DIR%\go\src
CALL make.bat
POPD
WHERE go.exe
IF NOT EXIST %GOROOT% (
ECHO "GOROOT not found"
EXIT 1
)
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