From 5fb5cbb8b4c8a87cdb49658ab86e2f4c8721c3d2 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sat, 14 Sep 2024 21:43:19 +0900 Subject: gnu: git-minimal: Patch 'sh' command in git-send-email script. * gnu/packages/version-control.scm (git-minimal) [phases] : Extend to patch 'sh' command in git-send-email.perl. Change-Id: Ie60d206a4ab33cd894c8bfb6c20d12f52654707c --- gnu/packages/version-control.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu') 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" -- cgit v1.2.3