diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index f60bab896bd9a54714eff3596e38c9ffb9d38ac8..445dca3ffcb7074dc58ee41d971c1164e97ee14f 100755 (executable)
--- a/GIT-VERSION-GEN
+++ b/GIT-VERSION-GEN
#!/bin/sh
GVF=GIT-VERSION-FILE
#!/bin/sh
GVF=GIT-VERSION-FILE
-DEF_VER=v1.5.5.GIT
+DEF_VER=v1.5.6.5.GIT
LF='
'
LF='
'
if test -f version
then
VN=$(cat version) || VN="$DEF_VER"
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) ;;
VN=$(git describe --abbrev=4 HEAD 2>/dev/null) &&
case "$VN" in
*$LF*) (exit 1) ;;