From 85a048a01c8a4ea2971715acb4d3884e9a5a379b Mon Sep 17 00:00:00 2001 From: "Juergen E. Fischer" Date: Sun, 4 Aug 2019 19:24:47 +0200 Subject: [PATCH] update_ts.sh: macos' find doesn't have -printf --- scripts/update_ts.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/update_ts.sh b/scripts/update_ts.sh index 713b001720e..927f77acbd2 100755 --- a/scripts/update_ts.sh +++ b/scripts/update_ts.sh @@ -162,11 +162,11 @@ echo Updating python translations for i in python/plugins/*/CMakeLists.txt; do cd ${i%/*} cat <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