misc: Fix the version determination of git-version-gen

This commit is contained in:
Holger Hans Peter Freyther 2012-11-06 08:48:33 +01:00
parent e8b9177706
commit 557215fd56
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ fi
if test -n "$v"
then
: # use $v
elif test -d ./../.git \
elif test -d ./.git \
&& v=`git describe --abbrev=4 --match='v*' HEAD 2>/dev/null \
|| git describe --abbrev=4 HEAD 2>/dev/null` \
&& case $v in