Ver Fonte

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 <yann.morin.1998@free.fr>
Yann E. MORIN há 3 anos atrás
pai
commit
2a592f0b2a
1 ficheiros alterados com 5 adições e 5 exclusões
  1. 5 5
      support/scripts/check-host-rpath

+ 5 - 5
support/scripts/check-host-rpath

@@ -93,11 +93,11 @@ check_elf_has_rpath() {
             dir="$( sed -r -e 's:/+:/:g; s:/$::;' <<<"${dir}" )"
             dir="$( sed -r -e 's:/+:/:g; s:/$::;' <<<"${dir}" )"
             [ "${dir}" = "${hostdir}/lib" ] && return 0
             [ "${dir}" = "${hostdir}/lib" ] && return 0
             [ "${dir}" = "\$ORIGIN/../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
             [[ ${dir} =~ "${perpackagedir}/"[^/]+/host/lib ]] && return 0
         done
         done
     done < <( readelf -d "${file}" 2>/dev/null                                  \
     done < <( readelf -d "${file}" 2>/dev/null                                  \