termux-packages/packages/mailutils/mail-send.c.patch
xtkoba 41e07e5b2f
mailutils: Fix hardcoded paths (#8121)
* mailutils: Fix hardcoded paths

* mailutils: Bump revision
2021-12-02 15:52:57 +05:30

12 lines
239 B
Diff

--- a/mail/send.c
+++ b/mail/send.c
@@ -1518,7 +1518,7 @@
argv[0] = getenv ("SHELL");
if (!argv[0])
- argv[0] = "/bin/sh";
+ argv[0] = "@TERMUX_PREFIX@/bin/sh";
argv[1] = "-c";
argv[2] = (char*) cmd;
argv[3] = NULL;