wok-current diff tramys-server/stuff/tramys2.cgi @ rev 24463
updated dar (2.6.7 -> 2.7.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 07:23:25 2022 +0100 (2022-02-17) |
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 Thu Feb 17 07:23:25 2022 +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