diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index 565cb41c1063376287231423421cc251ddede122..3cabc92e7a1f8ce30eb6e5151a4c81c82468bcee 100755 (executable)
--- a/GIT-VERSION-GEN
+++ b/GIT-VERSION-GEN
#!/bin/sh
GVF=GIT-VERSION-FILE
-DEF_VER=v1.5.5-rc3.GIT
+DEF_VER=v1.5.5.GIT
LF='
'
if test -f version
then
VN=$(cat version) || VN="$DEF_VER"
-elif test -d .git &&
+elif test -d .git -o -f .git &&
VN=$(git describe --abbrev=4 HEAD 2>/dev/null) &&
case "$VN" in
*$LF*) (exit 1) ;;