summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@iot.bzh>2017-02-17 14:35:31 +0100
committerStephane Desneux <stephane.desneux@iot.bzh>2017-02-17 14:35:44 +0100
commitd36e6359daed13ed4e55b00358da52648388fa7d (patch)
treedee89aeb66e391e252e8249d636cbeb52808fcea
parentf3292e84b05798b6d11182a860528f8475d6ecf4 (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