ports/mail/majordomo/patches/patch-sequencer

12 lines
386 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- contrib/sequencer.orig Mon Dec 9 17:50:48 1996
+++ contrib/sequencer Wed Feb 2 13:31:41 2011
@@ -48,7 +48,7 @@ if ($ARGV[0] =~ /^@/) {
# 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);
}