From d348d118b95beb778fdea976580757270c5c5b79 Mon Sep 17 00:00:00 2001 From: David Rosca Date: Mon, 15 Feb 2016 10:09:35 +0100 Subject: [PATCH] scripts: Update plugin_translations.sh --- scripts/plugin_translations.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/plugin_translations.sh b/scripts/plugin_translations.sh index 44e866849..31d53a1ab 100755 --- a/scripts/plugin_translations.sh +++ b/scripts/plugin_translations.sh @@ -4,8 +4,13 @@ cd ../src/plugins for pluginPro in */*.pro do - #lupdate $pluginPro -no-obsolete - lupdate $pluginPro -no-obsolete -ts $pluginPro/../translations/empty.ts + # circular inclusions workaround - we comment that buggy line + sed -i 's/include(../##temp/g' $pluginPro + + lupdate $pluginPro -no-obsolete -ts $pluginPro/../translations/empty.ts + + # uncomment it now + sed -i 's/##temp/include(../g' $pluginPro done exit 0