summaryrefslogtreecommitdiff
path: root/mailman
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2010-11-02 00:23:28 +0100
committerJonas Smedegaard <dr@jones.dk>2010-11-02 00:23:28 +0100
commit58732a1f6e5ce0650f2c86c8807ed11d8276a4c6 (patch)
tree021c543b6faad050f37415f7bb38b35cde27578e /mailman
parent8c689b010d73eca4323b59b4243b29581846e062 (diff)
Fix use variable LISTLANG internally (not overloading LANG).
Diffstat (limited to 'mailman')
-rw-r--r--mailman/mklist.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/mailman/mklist.inc b/mailman/mklist.inc
index 3d25d49..d3bd5c9 100644
--- a/mailman/mklist.inc
+++ b/mailman/mklist.inc
@@ -9,7 +9,7 @@ skeldir="$sharedir/skel"
MAILDOMAIN="${maildomain:-`head -n 1 /etc/mailname`}"
LISTDOMAIN="${listdomain:-lists.$MAILDOMAIN}"
OWNER="${owner:-listmaster@$MAILDOMAIN}"
-LANG="${lang:-en}"
+LISTLANG="${lang:-en}"
refreshlists() {
existinglists="`/usr/sbin/list_lists -b`"
@@ -19,7 +19,7 @@ mklist() {
list="$1"; shift
type="$1"; shift
desc="$1"; shift
- lang="${1:-$LANG}"
+ lang="${1:-$LISTLANG}"
owner="${2:-$OWNER}"
if ! echo "$existinglists" | grep -q "^$list\$"; then