summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-05-22 18:06:09 -0500
committerJohn Klug <john.klug@multitech.com>2019-07-03 17:08:20 -0500
commitef9f87efe5579626357e69e338112331ca1e6ae3 (patch)
tree2614c25dd8c81498a7c60bf44a69d88a0cd74b4b
parentfc070daa76a3195444727a95e12b17888c4e93c4 (diff)
downloadmeta-mlinux-ef9f87efe5579626357e69e338112331ca1e6ae3.tar.gz
meta-mlinux-ef9f87efe5579626357e69e338112331ca1e6ae3.tar.bz2
meta-mlinux-ef9f87efe5579626357e69e338112331ca1e6ae3.zip
Remove / after $D when next is a bitbake variable.
-rw-r--r--recipes-core/busybox/ifplugd-disable_1.0.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-core/busybox/ifplugd-disable_1.0.bb b/recipes-core/busybox/ifplugd-disable_1.0.bb
index bdb8678..3037e23 100644
--- a/recipes-core/busybox/ifplugd-disable_1.0.bb
+++ b/recipes-core/busybox/ifplugd-disable_1.0.bb
@@ -19,7 +19,7 @@ if [ -z "$D" ] ; then
mount -o remount,rw /
fi
fi
-sed -i 's/^ENABLED="no"/ENABLED="yes"/i' $D/${sysconfdir}/default/ifplugd
+sed -i 's/^ENABLED="no"/ENABLED="yes"/i' $D${sysconfdir}/default/ifplugd
if [ $ro -eq 1 ] ; then
mount -o remount,ro /
fi
@@ -33,11 +33,11 @@ if [ -z "$D" ] ; then
mount -o remount,rw /
fi
fi
-sed -i 's/^ENABLED="yes"/ENABLED="no"/i' $D/${sysconfdir}/default/ifplugd
+sed -i 's/^ENABLED="yes"/ENABLED="no"/i' $D${sysconfdir}/default/ifplugd
if [ -f $D/var/config/default/ifplugd ]; then
sed -i 's/^ENABLED="yes"/ENABLED="no"/i' $D/var/config/default/ifplugd
else
- cp $D/${sysconfdir}/default/ifplugd $D/var/config/default/ifplugd
+ cp $D${sysconfdir}/default/ifplugd $D/var/config/default/ifplugd
fi
if [ $ro -eq 1 ] ; then
mount -o remount,ro /