From 9c7bccc58b9cc410ab5446ccab76068e650299e5 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sun, 15 Oct 2017 19:29:19 +0200 Subject: [PATCH] make sure we create the translations path before rsync decies to and sometimes collides with concurrent builds of other plugins --- plugins.pri | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins.pri b/plugins.pri index 331a3852..f726b786 100644 --- a/plugins.pri +++ b/plugins.pri @@ -33,6 +33,7 @@ plugininfo.commands = touch ${QMAKE_FILE_OUT}; guh-generateplugininfo \ --output ${QMAKE_FILE_OUT} \ --builddir $$OUT_PWD \ --translations $$TRANSLATIONS; \ + mkdir -p $$shadowed($$PWD)/translations/ || true; \ rsync -a "$$OUT_PWD"/translations/*.qm $$shadowed($$PWD)/translations/; PRE_TARGETDEPS += compiler_plugininfo_make_all QMAKE_EXTRA_COMPILERS += plugininfo