update_ts.sh: fix selective download of translations

This commit is contained in:
Juergen E. Fischer 2018-02-18 18:23:59 +01:00
parent dcfe5ca63f
commit e606b795da

View File

@ -122,9 +122,9 @@ elif [ $action = pull ]; then
rm i18n/qgis_*.ts rm i18n/qgis_*.ts
echo Pulling new translations... echo Pulling new translations...
shift
if [ "$#" -gt 0 ]; then if [ "$#" -gt 0 ]; then
o="-l $@" o=$*
o="-l ${o// /,}"
else else
o="-a" o="-a"
fi fi