12 lines
379 B
Plaintext
12 lines
379 B
Plaintext
--- medit.orig Mon Apr 28 20:38:05 1997
|
|
+++ medit Wed Feb 2 13:31:41 2011
|
|
@@ -19,7 +19,7 @@ $ENV{'PATH'} = "/bin:/usr/bin:/usr/ucb";
|
|
# 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);
|
|
}
|