From: Samuel Martin Date: Tue, 19 Apr 2016 21:49:00 +0000 (+0200) Subject: support/scripts/check-host-rpath: also check HOST_DIR/{bin, sbin} X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf8f0136e97f40eeb00240ac63760ed9fb84d0aa;p=buildroot.git support/scripts/check-host-rpath: also check HOST_DIR/{bin, sbin} At least syslinux is installing stuff in HOST_DIR/sbin. Cc: "Yann E. MORIN" Signed-off-by: Samuel Martin Signed-off-by: Thomas Petazzoni --- diff --git a/support/scripts/check-host-rpath b/support/scripts/check-host-rpath index 48d69dae63..6ce547cb04 100755 --- a/support/scripts/check-host-rpath +++ b/support/scripts/check-host-rpath @@ -26,7 +26,7 @@ main() { printf "*** ERROR: package %s installs executables without proper RPATH:\n" "${pkg}" fi printf "*** %s\n" "${file}" - done < <( find "${hostdir}"/usr/{bin,sbin} -type f -exec file {} + 2>/dev/null \ + done < <( find "${hostdir}"/{,usr/}{bin,sbin} -type f -exec file {} + 2>/dev/null \ |sed -r -e '/^([^:]+):.*\.*\.*/!d' \ -e 's//\1/' \ )