]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bluez5: cleanup redundant backslashes
authorGuðni Már Gilbert <gudni.m.g@gmail.com>
Tue, 16 Jul 2024 16:19:18 +0000 (16:19 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Jul 2024 16:21:01 +0000 (17:21 +0100)
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 <gudni.m.g@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/bluez5/bluez5.inc

index 65dad451300b74756a0956bb4c2d404a7a12030c..d8b9f8177151e6fa7c5f876a9584915787b08b82 100644 (file)
@@ -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