diff options
author | Karl Ramm <kcr@1ts.org> | 2011-11-25 15:41:43 -0500 |
---|---|---|
committer | Karl Ramm <kcr@1ts.org> | 2011-11-25 15:42:54 -0500 |
commit | 54c7faba840799f5cbf3917c58063f439a7f224b (patch) | |
tree | f0c284843cacc4a6581f71befbfd6d1f900465cb | |
parent | 5aec58b8494a6bc47727623dad2353ac7fc27299 (diff) |
fix pasteo, make git describe more verbose
-rwxr-xr-x | get_vers.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 |