From d8d47b66ee987610a02dc936e2c1e6fd3961320a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= Date: Tue, 16 Jul 2024 16:19:18 +0000 Subject: [PATCH] bluez5: cleanup redundant backslashes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. (From OE-Core rev: 47ed046b682d3ea90be8567673d7fe80ac91dc2c) Signed-off-by: Guðni Már Gilbert Signed-off-by: Richard Purdie --- meta/recipes-connectivity/bluez5/bluez5.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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