From 82848fe66f1c4d33ffe3b6ce9746aaed9e9a3ee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Mon, 7 Oct 2019 06:56:29 +0200 Subject: [PATCH] lv2-turtle-helper: do not run do_ttl_sed on subsequenct configures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- classes/lv2-turtle-helper.bbclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/classes/lv2-turtle-helper.bbclass b/classes/lv2-turtle-helper.bbclass index 04f6562..1eb4a60 100644 --- a/classes/lv2-turtle-helper.bbclass +++ b/classes/lv2-turtle-helper.bbclass @@ -38,7 +38,10 @@ do_ttl_sed() { } do_configure_prepend() { - do_ttl_sed + # 1st configure? + if [ ! -f ${LV2_PLUGIN_INFO_FILE} ]; then + do_ttl_sed + fi } do_compile_prepend() {