aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-07-12 22:04:46 +0200
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2017-08-11 18:34:00 +0200
commit92c0fd2bd7f2c295ef6e9620a75859549aa41781 (patch)
tree578c5565a7729fe3071bf3f5d6ea1aa96c81f2ab
parentd04b1f153b45c1906535ec00ccc111b48982bda7 (diff)
git-version-gen: look for .git in ./, not ../
-rwxr-xr-xgit-version-gen2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-version-gen b/git-version-gen
index f2ad4a762..8e59c5afa 100755
--- a/git-version-gen
+++ b/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