summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2017-02-17 14:35:31 +0100
committerRonan Le Martret <ronan.lemartret@iot.bzh>2017-02-17 14:42:29 +0100
commit34eb96748ae0ba8c5bc71ce923dc8d40ab32f459 (patch)
tree91101db33ee4570c26b5d4986b1353cb90cc72c9
parent12c2fe344c8016879c89a92334ca3d4b92f63903 (diff)
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 <stephane.desneux@iot.bzh>
-rw-r--r--meta-app-framework/classes/aglwgt.bbclass2
1 files changed, 1 insertions, 1 deletions
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} <<EOF