aboutsummaryrefslogtreecommitdiffstats
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-03-27 15:33:40 +0200
commit1c4beeed432eabb0e8f2083b0340a35989262d61 (patch)
treea24256c5785ecda9dc8391156704b9fdf63ee281
parent78b08cfb795a391703ed8479de461371e9b3f496 (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 14f00a74c..afe9a5516 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