From 45fe61f5e916c5ea97fb12533d425fe261449e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Sun, 6 Oct 2019 18:07:50 +0200 Subject: [PATCH] lv2-postinst-helper.bbclass: sort plugins and avoid double calls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Müller --- classes/lv2-postinst-helper.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/lv2-postinst-helper.bbclass b/classes/lv2-postinst-helper.bbclass index 4e21c56..88e4df6 100644 --- a/classes/lv2-postinst-helper.bbclass +++ b/classes/lv2-postinst-helper.bbclass @@ -23,7 +23,7 @@ do_install_append() { # create postinst manifest install -d ${D}`dirname ${LV2-POSTINST-MANIFEST}` - for sofile in `cat ${LV2-TURTLE-BUILD-DATA} | awk '{ print $2 }'`; do + for sofile in `sort ${LV2-TURTLE-BUILD-DATA} | uniq | awk '{ print $2 }'`; do sofile=`basename $sofile` installed=`find ${D}${libdir}/lv2 -name $sofile | sed 's|${D}||g'` echo $installed >> ${D}${LV2-POSTINST-MANIFEST}