base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12 (#356361)
[NixPkgs.git] / pkgs / tools / networking / mailutils / path-to-cat.patch
blob698ee08f340ff09205513dd3c755a6c0af3e3d39
1 diff --git a/mh/show.c b/mh/show.c
2 index a43afe10c..6985386ec 100644
3 --- a/mh/show.c
4 +++ b/mh/show.c
5 @@ -254,7 +254,7 @@ main (int argc, char **argv)
6 */
8 if (!use_showproc)
9 - showproc = "/bin/cat";
10 + showproc = "cat";
11 else
12 showproc = mh_global_profile_get ("showproc", NULL);
14 diff --git a/mh/tests/mhparam.at b/mh/tests/mhparam.at
15 index 54b7fc06a..3abd5bf9b 100644
16 --- a/mh/tests/mhparam.at
17 +++ b/mh/tests/mhparam.at
18 @@ -28,7 +28,7 @@ mhparam -all | tr '\t' ' ' | sed 's/^Path:.*/Path: Mail/;s/^mhetcdir:.*/mhetcdir
19 [0],
20 [Path: Mail
21 mhetcdir: dir
22 -moreproc: /bin/cat
23 +moreproc: cat
24 Sequence-Negation: not
25 Draft-Folder: Mail/drafts
26 Aliasfile: .mh_aliases
27 diff --git a/mh/tests/testsuite.at b/mh/tests/testsuite.at
28 index c6820843c..6675a4a9c 100644
29 --- a/mh/tests/testsuite.at
30 +++ b/mh/tests/testsuite.at
31 @@ -25,7 +25,7 @@ export MH
32 cat > $MH <<EOT
33 Path: $HOME/Mail
34 mhetcdir: $abs_top_srcdir/mh/etc
35 -moreproc: /bin/cat
36 +moreproc: cat
37 EOT
38 MTSTAILOR=$HOME/mtstailor
39 export MTSTAILOR
40 diff --git a/testsuite/lib/mailutils.exp b/testsuite/lib/mailutils.exp
41 index d4691d922..c1b056933 100644
42 --- a/testsuite/lib/mailutils.exp
43 +++ b/testsuite/lib/mailutils.exp
44 @@ -728,7 +728,7 @@ proc mu_test_file {args} {
45 set pattern [lrange $args 1 end]
48 - set res [remote_spawn host "/bin/cat $filename"]
49 + set res [remote_spawn host "cat $filename"]
50 if { $res < 0 || $res == "" } {
51 perror "Reading $filename failed."
52 return 1;