mirror of https://gerrit.osmocom.org/osmo-pcap
misc: Fix the version determination of git-version-gen
parent
e8b9177706
commit
557215fd56
|
@ -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…
Reference in New Issue