aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit-version-gen2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-version-gen b/git-version-gen
index f2ad4a76..8e59c5af 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