openbsd-ports/mail/majordomo/patches/patch-archive_mh_pl
2000-05-24 14:35:41 +00:00

15 lines
483 B
Plaintext

--- contrib/archive_mh.pl.orig Mon Mar 10 12:40:41 1997
+++ contrib/archive_mh.pl Tue May 23 07:50:23 2000
@@ -17,9 +17,9 @@
$ENV{'PATH'} = "/bin:/usr/bin:/usr/ucb";
# Read and execute the .cf file
-$cf = $ENV{"MAJORDOMO_CF"} || "/tools/majordomo-1.56/majordomo.cf";
+$cf = $ENV{"MAJORDOMO_CF"} || "/etc/majordomo.cf";
if ($ARGV[0] eq "-C") {
- $cf = $ARGV[1];
+ $cf = "$ENV{'MAJORDOMO_CFDIR'}/$ARGV[1]" unless $ARGV[1] =~ /\//;
shift(@ARGV);
shift(@ARGV);
}