Skip to content

Commit

Permalink
update_ts.sh: handle empty exclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Apr 22, 2018
1 parent a2fbf5e commit 8e7486b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update_ts.sh
Expand Up @@ -111,7 +111,7 @@ trap cleanup EXIT
echo Saving translations
files="$files $(find python -name "*.ts")"
[ $action = push ] && files="$files i18n/qgis_*.ts"
tar --remove-files -cf i18n/backup.tar $files
[ -n "${files## }" ] && tar --remove-files -cf i18n/backup.tar $files

if [ $action = push ]; then
echo Pulling source from transifex...
Expand Down

0 comments on commit 8e7486b

Please sign in to comment.