summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Karl Ramm <kcr@1ts.org>2013-10-05 21:42:50 -0400
committerGravatar Karl Ramm <kcr@1ts.org>2013-10-05 21:42:50 -0400
commit279cbd919e3dd6dbfba025f833cef8f73afd01cf (patch)
treec4efcf380bd1f2e26208f683bf224acfafb6ec5a
parentdcaf3476cbd51245f383a5f87c2e958beeeb778e (diff)
substitute ~ back out of the tag in get_vers
-rwxr-xr-xget_vers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/get_vers.sh b/get_vers.sh
index adc764c..7f281ae 100755
--- a/get_vers.sh
+++ b/get_vers.sh
@@ -5,7 +5,7 @@ top_srcdir=${1:-`pwd`}
if test -f ${top_srcdir}/VERSION; then
VERSION=`cat ${top_srcdir}/VERSION`
elif test -d ${top_srcdir}/.git; then
- VERSION=`(cd $top_srcdir; git describe --abbrev=6 --dirty)`
+ VERSION=`(cd $top_srcdir; git describe --abbrev=6 --dirty | sed -e 's/%7E/~/')`
fi
if test -z "$VERSION"; then