Skip to content

Commit 8e7486b

Browse files
committedApr 22, 2018
update_ts.sh: handle empty exclusion
1 parent a2fbf5e commit 8e7486b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎scripts/update_ts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ trap cleanup EXIT
111111
echo Saving translations
112112
files="$files $(find python -name "*.ts")"
113113
[ $action = push ] && files="$files i18n/qgis_*.ts"
114-
tar --remove-files -cf i18n/backup.tar $files
114+
[ -n "${files## }" ] && tar --remove-files -cf i18n/backup.tar $files
115115

116116
if [ $action = push ]; then
117117
echo Pulling source from transifex...

0 commit comments

Comments
 (0)
Please sign in to comment.