diff options
author | Jonas Smedegaard <dr@jones.dk> | 2010-11-11 10:02:00 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2010-11-11 10:02:00 +0100 |
commit | b2c17178a427716bed948707c95dc946368c1646 (patch) | |
tree | 51104bc3075a0202f1ce3a0afc6a2716c0ce85f0 /mailman | |
parent | 4a72d57e895e6fdca8f31f1597dc451d79923ca8 (diff) |
Fix unconditionally set LISTHOST (or it is confused for a command name - apparently shell expansion happens after separating out ENV vars.
Diffstat (limited to 'mailman')
-rw-r--r-- | mailman/mklist.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mailman/mklist.inc b/mailman/mklist.inc index 857fbf7..3219f66 100644 --- a/mailman/mklist.inc +++ b/mailman/mklist.inc @@ -28,7 +28,7 @@ mklist() { if ! echo "$existinglists" | grep -q "^$list\$"; then newlist -l "$lang"${urlhost:+ -u "$urlhost"}${emailhost:+ -e "$emailhost"} -q "$list" "$owner" "`gpw | head -n 1`" fi - LISTNAME="$list" LISTDESC="$desc" LISTOWNER="$owner" ${emailhost:+LISTHOST="$emailhost"} "$sharedir/mklist.pl" "$skeldir/$type.$lang.py" > "$list.py" + LISTNAME="$list" LISTDESC="$desc" LISTOWNER="$owner" LISTHOST="$emailhost" "$sharedir/mklist.pl" "$skeldir/$type.$lang.py" > "$list.py" config_list -i "$cfgdir/$list.py" "$list" config_list -o "$cfgdir/$list.py" "$list" } |