From 54c7faba840799f5cbf3917c58063f439a7f224b Mon Sep 17 00:00:00 2001 From: Karl Ramm Date: Fri, 25 Nov 2011 15:41:43 -0500 Subject: fix pasteo, make git describe more verbose --- get_vers.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'get_vers.sh') diff --git a/get_vers.sh b/get_vers.sh index 86de08c..adc764c 100755 --- a/get_vers.sh +++ b/get_vers.sh @@ -5,10 +5,11 @@ 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)` + VERSION=`(cd $top_srcdir; git describe --abbrev=6 --dirty)` fi if test -z "$VERSION"; then VERSION='FROM SPACE' +fi echo $VERSION -- cgit v1.2.3