openbsd-ports/mail/majordomo/patches/patch-bounce-remind
2011-03-02 12:40:41 +00:00

12 lines
393 B
Plaintext

--- bounce-remind.orig Mon Dec 9 17:49:46 1996
+++ bounce-remind Wed Feb 2 13:31:41 2011
@@ -20,7 +20,7 @@ $main'program_name = 'mj_bounce-remind';
# 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);
}