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:
parent
c48600a8ba
commit
5fb5cbb8b4
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user