projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fab400
)
Drop git- prefix from version labels
author
Mans Rullgard
<mans@mansr.com>
Sun, 19 Jun 2011 18:31:56 +0000
(19:31 +0100)
committer
Mans Rullgard
<mans@mansr.com>
Sun, 19 Jun 2011 18:41:23 +0000
(19:41 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
version.sh
patch
|
blob
|
history
diff --git
a/version.sh
b/version.sh
index
7911e46
..
6f72b2c
100755
(executable)
--- a/
version.sh
+++ b/
version.sh
@@
-2,7
+2,6
@@
# check for git short hash
revision=$(cd "$1" && git describe --always 2> /dev/null)
-test "$revision" && revision=git-$revision
# no revision number found
test "$revision" || revision=$(cd "$1" && cat RELEASE 2> /dev/null)