Skip to content

Commit e606b79

Browse files
committedFeb 18, 2018
update_ts.sh: fix selective download of translations
1 parent dcfe5ca commit e606b79

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎scripts/update_ts.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ elif [ $action = pull ]; then
122122
rm i18n/qgis_*.ts
123123

124124
echo Pulling new translations...
125-
shift
126125
if [ "$#" -gt 0 ]; then
127-
o="-l $@"
126+
o=$*
127+
o="-l ${o// /,}"
128128
else
129129
o="-a"
130130
fi

0 commit comments

Comments
 (0)
Please sign in to comment.