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

12 lines
362 B
Plaintext

--- contrib/sequencer.orig Mon Dec 9 13:50:48 1996
+++ contrib/sequencer Tue May 23 07:50:58 2000
@@ -48,7 +48,7 @@
# Read and execute the .cf file
$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);
}