diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-02-01 12:19:49 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-02-01 12:19:49 +0100 |
commit | 40222b926b6d2f7d08aeeff756de3ade36121396 (patch) | |
tree | a88f961dc9baded4bd78ea1f83f47c7c65041c7a /version.sh | |
parent | 7b3ea5507cd79d7e80cb435fda20e70f90e18663 (diff) | |
download | ffmpeg-40222b926b6d2f7d08aeeff756de3ade36121396.tar.gz |
Provide monotone revission numbers in version.sh
Diffstat (limited to 'version.sh')
-rwxr-xr-x | version.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/version.sh b/version.sh index 3269e038a7..d1cf15d432 100755 --- a/version.sh +++ b/version.sh @@ -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 |