From 2a592f0b2a400825a95e19113ce996bbc5c431d7 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 30 Jul 2022 18:15:08 +0200 Subject: [PATCH] support/scripts: fix TABs/spaces in check-host-rpath Commit c4e6d5c8be6a (core: implement per-package SDK and target) introduced leading TABs in that otherwise-space-indented script. Convert all to spaces, for homogeneity Signed-off-by: Yann E. MORIN --- support/scripts/check-host-rpath | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/support/scripts/check-host-rpath b/support/scripts/check-host-rpath index f36677cc96..41aa0aa1ed 100755 --- a/support/scripts/check-host-rpath +++ b/support/scripts/check-host-rpath @@ -93,11 +93,11 @@ check_elf_has_rpath() { dir="$( sed -r -e 's:/+:/:g; s:/$::;' <<<"${dir}" )" [ "${dir}" = "${hostdir}/lib" ] && return 0 [ "${dir}" = "\$ORIGIN/../lib" ] && return 0 - # This check is done even for builds where - # BR2_PER_PACKAGE_DIRECTORIES is disabled. In this case, - # PER_PACKAGE_DIR and therefore ${perpackagedir} points to - # a non-existent directory, and this check will always be - # false. + # This check is done even for builds where + # BR2_PER_PACKAGE_DIRECTORIES is disabled. In this case, + # PER_PACKAGE_DIR and therefore ${perpackagedir} points to + # a non-existent directory, and this check will always be + # false. [[ ${dir} =~ "${perpackagedir}/"[^/]+/host/lib ]] && return 0 done done < <( readelf -d "${file}" 2>/dev/null \