gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnunet] branch master updated: Fix git detection when cloned as submodu


From: gnunet
Subject: [gnunet] branch master updated: Fix git detection when cloned as submodule
Date: Mon, 09 Jan 2023 22:40:45 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository gnunet.

The following commit(s) were added to refs/heads/master by this push:
     new 7754005e3 Fix git detection when cloned as submodule
7754005e3 is described below

commit 7754005e3870d8b388c074d356389d13018e15f6
Author: Dan Church <amphetamachine@gmail.com>
AuthorDate: Mon Jan 9 13:53:47 2023 -0600

    Fix git detection when cloned as submodule
    
    Signed-off-by: Christian Grothoff <christian@grothoff.org>
---
 contrib/get_version.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
 then
   VERSION=$(cat .version)
 fi
-if test -d "./.git"
+if [ -e ./.git ]
 then
   VERSION=$(git describe --tags)
   VERSION=${VERSION#v}

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]