diff options
author | Gustavo Niemeyer <gustavo@niemeyer.net> | 2011-08-15 14:25:54 -0300 |
---|---|---|
committer | Gustavo Niemeyer <gustavo@niemeyer.net> | 2011-08-15 14:25:54 -0300 |
commit | b0fc8a9d571e3540c1a70e1e3b1a05bd1b4af4b4 (patch) | |
tree | 59f1c398c7dbeaa4bbe31f59fb8544d08648090e | |
parent | 220c74984a47a48ff1d4a8047655cf823b31538e (diff) | |
download | go-b0fc8a9d571e3540c1a70e1e3b1a05bd1b4af4b4.tar.gz go-b0fc8a9d571e3540c1a70e1e3b1a05bd1b4af4b4.zip |
build: don't print anything on version.bash -save
R=rsc
CC=golang-dev
https://golang.org/cl/4904044
-rwxr-xr-x | src/version.bash | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/version.bash b/src/version.bash index 21cfb82095..fc899e2e3e 100755 --- a/src/version.bash +++ b/src/version.bash @@ -3,7 +3,7 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -GOROOT=$(cd `dirname $0`/..; pwd) +GOROOT=$(dirname $0)/.. # If a version file created by -save is available, use it if [ -f "$GOROOT/VERSION" ]; then @@ -45,7 +45,6 @@ fi if [ "$1" = "-save" ]; then echo $VERSION > $GOROOT/VERSION - echo "Saved '$VERSION' to $GOROOT/VERSION" 1>&2 else echo $VERSION fi |