guix-commits
[Top][All Lists]
Advanced

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

branch master updated: build: Do not fail when '.git' is missing.


From: guix-commits
Subject: branch master updated: build: Do not fail when '.git' is missing.
Date: Thu, 04 May 2023 12:52:16 -0400

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

civodul pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 5aa1f3aa4a build: Do not fail when '.git' is missing.
5aa1f3aa4a is described below

commit 5aa1f3aa4a883271e183f1dd0497aff41e18144e
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu May 4 18:49:58 2023 +0200

    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(-)

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



reply via email to

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