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

changes/02/2/1
Holger Hans Peter Freyther 10 years ago
parent e8b9177706
commit 557215fd56
  1. 2
      git-version-gen

@ -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

Loading…
Cancel
Save