From 34eb96748ae0ba8c5bc71ce923dc8d40ab32f459 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Fri, 17 Feb 2017 14:35:31 +0100 Subject: aglwgt.bbclass: fix bashism Depending on the host shell, the class may fail due to specific bash syntax. Change-Id: I59938b009b27e8fbdc533e8b58c80a36864723bb Signed-off-by: Stephane Desneux --- meta-app-framework/classes/aglwgt.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-app-framework/classes/aglwgt.bbclass b/meta-app-framework/classes/aglwgt.bbclass index 14f00a7..afe9a55 100644 --- a/meta-app-framework/classes/aglwgt.bbclass +++ b/meta-app-framework/classes/aglwgt.bbclass @@ -41,7 +41,7 @@ do_aglwgt_deploy() { install -m 0644 ${B}/package/*.wgt ${D}/usr/AGL/apps/ APP_FILES="" for file in ${D}/usr/AGL/apps/*.wgt;do - APP_FILES+=" "$(basename $file); + APP_FILES="${APP_FILES} $(basename $file)"; done install -d ${D}/${sysconfdir}/agl-postinsts cat > ${D}/${sysconfdir}/agl-postinsts/${POST_INSTALL_SCRIPT} <