Skip to content

Commit

Permalink
bluez5: cleanup redundant backslashes
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
  • Loading branch information
gudnimg authored and rpurdie committed Jul 18, 2024
1 parent 110f14b commit 36328d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions meta/recipes-connectivity/bluez5/bluez5.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36328d6

Please sign in to comment.