diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-09-14 21:43:19 +0900 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-09-14 21:59:47 +0900 |
commit | 5fb5cbb8b4c8a87cdb49658ab86e2f4c8721c3d2 (patch) | |
tree | c6d7216a08264bdd66501c30da9b438b66fc78ce /gnu | |
parent | c48600a8bad370c5f430790eb145b3f82ec6b279 (diff) | |
download | guix-5fb5cbb8b4c8a87cdb49658ab86e2f4c8721c3d2.tar.gz guix-5fb5cbb8b4c8a87cdb49658ab86e2f4c8721c3d2.zip |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/version-control.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm index 852879901a..b7fa5b0f0b 100644 --- a/gnu/packages/version-control.scm +++ b/gnu/packages/version-control.scm @@ -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" |