gnu: git-minimal: Patch 'sh' command in git-send-email script.

* gnu/packages/version-control.scm (git-minimal)
[phases] <patch-commands>: Extend to patch 'sh' command in
git-send-email.perl.

Change-Id: Ie60d206a4ab33cd894c8bfb6c20d12f52654707c
This commit is contained in:
Maxim Cournoyer 2024-09-14 21:43:19 +09:00
parent c48600a8ba
commit 5fb5cbb8b4
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

View File

@ -366,7 +366,12 @@ Python 3.3 and later, rather than on Python 2.")
(("\\$\\(basename")
(string-append "$(" (search-input-file inputs "bin/basename")))
(("sed -e")
(string-append (search-input-file inputs "bin/sed") " -e")))))
(string-append (search-input-file inputs "bin/sed") " -e")))
;; git-send-email invokes the editor via 'sh'; patch it.
(substitute* "git-send-email.perl"
(("'sh'")
(format #f "'~a'" (search-input-file inputs "bin/sh"))))))
(add-after 'configure 'patch-makefiles
(lambda _
(substitute* "Makefile"