aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDan Church <amphetamachine@gmail.com>2023-01-09 13:53:47 -0600
committerChristian Grothoff <christian@grothoff.org>2023-01-09 22:40:38 +0100
commit7754005e3870d8b388c074d356389d13018e15f6 (patch)
tree8e8e2daadc2a1ff4ea113873ebfc415ab3a69efa /contrib
parentbe0ba43d7a81a8e44c047b93e8c19cc30d2f983a (diff)
downloadgnunet-7754005e3870d8b388c074d356389d13018e15f6.tar.gz
gnunet-7754005e3870d8b388c074d356389d13018e15f6.zip
Fix git detection when cloned as submodule
Signed-off-by: Christian Grothoff <christian@grothoff.org>
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/get_version.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/get_version.sh b/contrib/get_version.sh
index 7366c6bf6..6e3ab5141 100755
--- a/contrib/get_version.sh
+++ b/contrib/get_version.sh
@@ -5,7 +5,7 @@ if test -f ".version"
5then 5then
6 VERSION=$(cat .version) 6 VERSION=$(cat .version)
7fi 7fi
8if test -d "./.git" 8if [ -e ./.git ]
9then 9then
10 VERSION=$(git describe --tags) 10 VERSION=$(git describe --tags)
11 VERSION=${VERSION#v} 11 VERSION=${VERSION#v}