summaryrefslogtreecommitdiff
path: root/src/all.bash
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
commit92f2a1920ffb53550428e7a9db607cf2fe5b4c5e (patch)
tree724471713c6f247a1679430de719c4234a4c13f0 /src/all.bash
parent901950563636ee5db605844f92b058f5c6258573 (diff)
downloadgo-92f2a1920ffb53550428e7a9db607cf2fe5b4c5e.tar.gz
build: restore PATH before "dist banner"
Fixes issue 3699. R=golang-dev, r, rsc CC=golang-dev http://codereview.appspot.com/6272048
Diffstat (limited to 'src/all.bash')
-rwxr-xr-xsrc/all.bash2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/all.bash b/src/all.bash
index 454582c0c..488ca4679 100755
--- a/src/all.bash
+++ b/src/all.bash
@@ -8,6 +8,8 @@ if [ ! -f make.bash ]; then
echo 'all.bash must be run from $GOROOT/src' 1>&2
exit 1
fi
+OLDPATH="$PATH"
. ./make.bash --no-banner
bash run.bash --no-rebuild
+PATH="$OLDPATH"
$GOTOOLDIR/dist banner # print build info