From 5aa1f3aa4a883271e183f1dd0497aff41e18144e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 4 May 2023 18:49:58 +0200 Subject: build: Do not fail when '.git' is missing. This is a followup to a5d719012e0f5115aa89b767edc1fe1a3505915c. * Makefile.am (.git/hooks/pre-push): Add dash. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 3e4fb90a68..b71109ca18 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1115,7 +1115,7 @@ cuirass-jobs: $(GOBJECTS) # Git auto-configuration. .git/hooks/pre-push: etc/git/pre-push - cp etc/git/pre-push .git/hooks/pre-push + -cp etc/git/pre-push .git/hooks/pre-push .git/config: etc/git/gitconfig -git config include.path ../etc/git/gitconfig -- cgit v1.2.3