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