aglwgt.bbclass: fix bashism
authorStephane Desneux <stephane.desneux@iot.bzh>
Fri, 17 Feb 2017 13:35:31 +0000 (14:35 +0100)
committerStephane Desneux <stephane.desneux@iot.bzh>
Mon, 27 Mar 2017 13:33:40 +0000 (15:33 +0200)
Depending on the host shell, the class may fail due to specific bash syntax.

Change-Id: I59938b009b27e8fbdc533e8b58c80a36864723bb
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
meta-app-framework/classes/aglwgt.bbclass

index 14f00a7..afe9a55 100644 (file)
@@ -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} <<EOF