gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] 01/07: build system: only try installing hooks if .git director


From: gnunet
Subject: [gnunet] 01/07: build system: only try installing hooks if .git directory exists.
Date: Mon, 13 May 2024 10:51:38 +0200

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

martin-schanzenbach pushed a commit to branch master
in repository gnunet.

commit 9e211bf9ea244ebb2b11cfdc9a558c8466a4555a
Author: ulfvonbelow <striness@tilde.club>
AuthorDate: Fri May 3 21:50:11 2024 -0500

    build system: only try installing hooks if .git directory exists.
    
    Signed-off-by: Martin Schanzenbach <schanzen@gnunet.org>
---
 bootstrap | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/bootstrap b/bootstrap
index d5bf30af4..fb47649a7 100755
--- a/bootstrap
+++ b/bootstrap
@@ -136,7 +136,10 @@ main()
       check_libtool
     fi
     pogen
-    install_hooks
+    if test -d .git
+    then
+        install_hooks
+    fi
 }
 
 main "$@"

-- 
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]