Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
ls-files --others --directory: test
[gitweb.git]
/
GIT-VERSION-GEN
diff --git
a/GIT-VERSION-GEN
b/GIT-VERSION-GEN
index 196402ce6672117aad9547d86bdf94dc2d3e68c6..845b9dce6eaab80d011370f701c254a051027cc2 100755
(executable)
--- a/
GIT-VERSION-GEN
+++ b/
GIT-VERSION-GEN
@@
-2,7
+2,7
@@
GVF=GIT-VERSION-FILE
-VN=$(git
describe --abbrev=4 HEAD 2>/dev/null) || VN=v1.0.GIT
+VN=$(git
-
describe --abbrev=4 HEAD 2>/dev/null) || VN=v1.0.GIT
VN=$(expr "$VN" : v'\(.*\)')
if test -r $GVF
then