From 290d6ae81b63f46f57a89e3f13e2124c1cef3e5a Mon Sep 17 00:00:00 2001 From: ulfvonbelow Date: Fri, 3 May 2024 21:50:11 -0500 Subject: [PATCH] build system: only try installing hooks if .git directory exists. --- 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 "$@" -- 2.41.0