wok-6.x diff tramys-server/stuff/tramys2.cgi @ rev 23390

updated perl-spreadsheet-writeexcel (2.25 -> 2.40)
author Hans-G?nter Theisgen
date Tue Mar 31 16:41:39 2020 +0100 (2020-03-31)
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	Tue Mar 31 16:41:39 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