Commit 15580526 authored by Gustavo Niemeyer's avatar Gustavo Niemeyer

version.bash: update VERSION on -save if already present

R=rsc
CC=golang-dev
https://golang.org/cl/4941047
parent 297a08ea
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
GOROOT=$(dirname $0)/.. GOROOT=$(dirname $0)/..
# If a version file created by -save is available, use it # If a version file created by -save is available, use it
if [ -f "$GOROOT/VERSION" ]; then if [ -f "$GOROOT/VERSION" -a "$1" != "-save" ]; then
cat $GOROOT/VERSION cat $GOROOT/VERSION
exit 0 exit 0
fi fi
......
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