Skip to content

Commit fe3d0b4

Browse files
author
jef
committed
make update_ts_files.sh a bit more robust
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@11446 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 050f776 commit fe3d0b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/update_ts_files.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ if [ -n "$exclude" ]; then
2323
tar --remove-files -cvf i18n/qgis_ts.tar i18n/qgis_*.ts$exclude
2424
fi
2525
echo Updating python plugin translations
26-
for i in python/plugins/*/.; do
27-
cd $i
26+
for i in python/plugins/*/CMakeLists.txt; do
27+
cd ${i%/*}
2828
pylupdate4 $(find . -name "*.py" -o -name "*.ui") -ts python-i18n.ts
2929
perl ../../../scripts/ts2cpp.pl python-i18n.ts python-i18n.cpp
3030
rm python-i18n.ts

0 commit comments

Comments
 (0)