wok diff tramys-server/stuff/tramys2.cgi @ rev 23225

compile mutt again
author Hans-G?nter Theisgen
date Mon Mar 23 16:27:23 2020 +0100 (2020-03-23)
parents 02c70d036ea0
children
line diff
     1.1 --- a/tramys-server/stuff/tramys2.cgi	Tue Feb 26 09:14:07 2019 +0100
     1.2 +++ b/tramys-server/stuff/tramys2.cgi	Mon Mar 23 16:27:23 2020 +0100
     1.3 @@ -70,9 +70,9 @@
     1.4  			for line in $(grep -e "^$P	" $DATADIR/$PREFIX$list_type.list); do
     1.5  				locales=$(echo $line | cut -d'	' -f2)
     1.6  				names=$(echo $line | cut -d'	' -f3)
     1.7 -					[ "x$names" = "x" ] && names=$P
     1.8 +					[ -z "$names" ] && names=$P
     1.9  				paths=$(echo $line | cut -d'	' -f4)
    1.10 -					[ "x$paths" = "x" ] && paths="$US/locale/%/$LC"
    1.11 +					[ -z "$paths" ] && paths="$US/locale/%/$LC"
    1.12  
    1.13  				IFS=' '
    1.14  				# for all valid locale variants