aboutsummaryrefslogtreecommitdiff
path: root/src/all.bat
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-06-06 20:19:16 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-06-06 20:19:16 +0800
commit81368d9bb9cc503df33d470785edc816a9086cd3 (patch)
treef96ca577a470a31148b9daf70280acf16795ce1a /src/all.bat
parent2cb74984553e07ae3bc7ca7e89099c11925b01c1 (diff)
downloadgo-81368d9bb9cc503df33d470785edc816a9086cd3.tar.gz
go-81368d9bb9cc503df33d470785edc816a9086cd3.zip
build: restore PATH before "dist banner"
Fixes #3699. R=golang-dev, r, rsc CC=golang-dev https://golang.org/cl/6272048
Diffstat (limited to 'src/all.bat')
-rw-r--r--src/all.bat2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/all.bat b/src/all.bat
index e3b61c0127..8edfd7f43e 100644
--- a/src/all.bat
+++ b/src/all.bat
@@ -11,10 +11,12 @@ echo all.bat must be run from go\src
goto end
:ok
+set OLDPATH=%PATH%
call make.bat --no-banner --no-local
if %GOBUILDFAIL%==1 goto end
call run.bat --no-rebuild --no-local
if %GOBUILDFAIL%==1 goto end
+set PATH=%OLDPATH%
go tool dist banner
:end