From b2c17178a427716bed948707c95dc946368c1646 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 11 Nov 2010 10:02:00 +0100 Subject: Fix unconditionally set LISTHOST (or it is confused for a command name - apparently shell expansion happens after separating out ENV vars. --- mailman/mklist.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mailman') 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" } -- cgit v1.2.3