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

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

21 lines
432 B
Diff

--- a/mh/show.c
+++ b/mh/show.c
@@ -253,7 +253,7 @@
*/
if (!use_showproc)
- showproc = "/bin/cat";
+ showproc = "@TERMUX_PREFIX@/bin/cat";
else
showproc = mh_global_profile_get ("showproc", NULL);
@@ -338,7 +338,7 @@
{
showproc = getenv ("PAGER");
if (!showproc)
- showproc = "/usr/bin/more";
+ showproc = "@TERMUX_PREFIX@/bin/more";
}
finisarg ();
execvp (showproc, showargv);