From: Guðni Már Gilbert Date: Tue, 16 Jul 2024 16:19:18 +0000 (+0000) Subject: bluez5: cleanup redundant backslashes X-Git-Tag: yocto-5.2~2361 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=36328d68b712c5267613d495c010c26c88d565f4;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git bluez5: cleanup redundant backslashes Noticed in the installation logs a few paths have double slashes '//'. Doesn't seem to do any harm, though it is good to clean this up for consistency. Signed-off-by: Guðni Már Gilbert Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index 65dad451300..d8b9f817715 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc @@ -102,13 +102,13 @@ do_install:append() { install -d ${D}${INIT_D_DIR} install -m 0755 ${UNPACKDIR}/init ${D}${INIT_D_DIR}/bluetooth - if [ -f ${D}/${sysconfdir}/init.d/bluetooth ]; then - sed -i -e 's#@LIBEXECDIR@#${libexecdir}#g' ${D}/${sysconfdir}/init.d/bluetooth + if [ -f ${D}${sysconfdir}/init.d/bluetooth ]; then + sed -i -e 's#@LIBEXECDIR@#${libexecdir}#g' ${D}${sysconfdir}/init.d/bluetooth fi # Install desired tools that upstream leaves in build area for f in ${NOINST_TOOLS} ; do - install -m 755 ${B}/$f ${D}/${bindir} + install -m 755 ${B}/$f ${D}${bindir} done # Fix the /etc/bluetooth directory permissions when systemd is disabled