mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
update_ts.sh: macos' find doesn't have -printf
This commit is contained in:
parent
06b24d164a
commit
85a048a01c
@ -162,11 +162,11 @@ echo Updating python translations
|
||||
for i in python/plugins/*/CMakeLists.txt; do
|
||||
cd ${i%/*}
|
||||
cat <<EOF >python-i18n.pro
|
||||
SOURCES = $(find . -type f -name "*.py" -printf " %p \
|
||||
")
|
||||
SOURCES = $(find . -type f -name "*.py" -print | sed -e 's/^/ /' -e 's/$/ \\/')
|
||||
|
||||
|
||||
FORMS = $(find . -type f -name "*.ui" -print | sed -e 's/^/ /' -e 's/$/ \\/')
|
||||
|
||||
FORMS = $(find . -type f -name "*.ui" -printf " %p \
|
||||
")
|
||||
|
||||
TRANSLATIONS = python-i18n.ts
|
||||
EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user