From: Andrew Gerrand Date: Mon, 15 Aug 2011 11:19:07 +0000 (+1000) Subject: build: don't require hg for build X-Git-Tag: weekly.2011-08-17~49 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=241a262fe592911b8be3d44694429103e4ff86e4;p=gostls13.git build: don't require hg for build R=golang-dev, dsymonds, n13m3y3r CC=golang-dev https://golang.org/cl/4873048 --- diff --git a/src/version.bash b/src/version.bash index ce5a9969a2..e3677a7368 100755 --- a/src/version.bash +++ b/src/version.bash @@ -5,8 +5,9 @@ # Check that we can use 'hg' if ! hg version > /dev/null 2>&1; then - echo 'hg not installed' 1>&2 - exit 2 + echo 'unable to report version: hg not installed' 1>&2 + echo 'unknown' + exit 0 fi # Get numerical revision