GNU bug report logs -
#63092
[PATCH] gnu: git: Update to 2.40.1 [security fixes].
Previous Next
Reported by: Greg Hogan <code <at> greghogan.com>
Date: Wed, 26 Apr 2023 16:42:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 63092 <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/version-control.scm (git-minimal)
[arguments]<#:phases>(remove-unusable-perl-commands): Add file check
before deleting perl scripts so that this phase works for both new and
old, pinned versions.
---
gnu/packages/version-control.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 5f6766f510..0467e9f4cb 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -634,8 +634,11 @@ (define-public git-minimal
(bin (string-append out "/bin"))
(libexec (string-append out "/libexec")))
(for-each (lambda (file)
- (delete-file (string-append libexec
- "/git-core/" file)))
+ (if (file-exists? file)
+ (delete-file (string-append libexec
+ "/git-core/" file))))
+ ;; git-add--interactive was removed in Git 2.40 but
+ ;; this phase is inherited by older versions.
'("git-svn" "git-cvsimport" "git-archimport"
"git-cvsserver" "git-request-pull"
"git-add--interactive" "git-cvsexportcommit"
--
2.40.0
This bug report was last modified 2 years and 14 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.