wok-current diff tramys-server/stuff/tramys2.cgi @ rev 25354
updated tiff, tiff-apps and tiff-dev (4.1.0 -> 4.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 26 16:22:26 2022 +0100 (2022-07-26) |
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 Jul 26 16:22:26 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