Provide monotone revission numbers in version.sh

This commit is contained in:
Michael Niedermayer 2011-02-01 12:19:49 +01:00
parent 7b3ea5507c
commit 40222b926b
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ fi
# check for git short hash
if ! test "$revision"; then
revision=$(cd "$1" && git describe --always 2> /dev/null)
revision=$(cd "$1" && git describe --tags --match N 2> /dev/null)
test "$revision" && revision=git-$revision
fi