diff mbox series

bluez5: cleanup redundant backslashes

Message ID 20240716161719.4519-1-gudni.m.g@gmail.com
State Accepted, archived
Commit 36328d68b712c5267613d495c010c26c88d565f4
Headers show
Series bluez5: cleanup redundant backslashes | expand

Commit Message

Guðni Már Gilbert July 16, 2024, 4:17 p.m. UTC
Noticed in the installation logs a few paths have
double slahes '//'. 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>
---
 meta/recipes-connectivity/bluez5/bluez5.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index 55aea1f3c7..a29af692cd 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
 
 	# Patch python tools to use Python 3; they should be source compatible, but