summaryrefslogtreecommitdiff
path: root/mailman/mklist.pl
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-11-12 02:32:20 +0100
committerJonas Smedegaard <dr@jones.dk>2020-11-12 02:32:20 +0100
commitff24b826e7381ffc1cc80348b822538beb6389bd (patch)
tree198b202ba812d2e6bc6c9dacce02d42625689ba7 /mailman/mklist.pl
parentfd7a4ab29b4b02bc45b56110a3109769059f1bfc (diff)
fix revive support for singular LISTOWNER, and similarly support MODERATOR
Diffstat (limited to 'mailman/mklist.pl')
-rwxr-xr-xmailman/mklist.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailman/mklist.pl b/mailman/mklist.pl
index e1c2d06..7893ad7 100755
--- a/mailman/mklist.pl
+++ b/mailman/mklist.pl
@@ -21,9 +21,9 @@ $listhost = $ENV{'LISTHOST'} or die "LISTHOST missing";
$senders = $ENV{'SENDERS'} or die "SENDERS missing";
$senderfilters = $ENV{'SENDERFILTER'} || $ENV{'SENDERFILTERS'} || ''
or warn "Ignoring missing SENDERFILTER(S)";
-$listowners = $ENV{'LISTOWNER'} || $ENV{'LISTOWNERS'}
+$listowners = $ENV{'LISTOWNERS'} || "'$ENV{'LISTOWNER'}'"
or die "LISTOWNER(S) missing";
-$moderators = $ENV{'MODERATORS'} || '';
+$moderators = $ENV{'MODERATORS'} || "'$ENV{'MODERATOR'}'";
while (<>) {
# Replace keywords - except in comments