mirror of https://github.com/golang/go.git
build: don't print anything on version.bash -save
R=rsc CC=golang-dev https://golang.org/cl/4904044
This commit is contained in:
parent
220c74984a
commit
b0fc8a9d57
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue