[Buildroot] [PATCH v8 09/14] support/scripts/check-host-rpath: silent find command
Samuel Martin
s.martin49 at gmail.com
Sun Apr 17 21:38:26 UTC 2016
Silent find command when HOST_DIR/usr/sbin does not exist.
Cc: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Signed-off-by: Samuel Martin <s.martin49 at gmail.com>
---
changes v7->v8:
- none
changes v6->v7:
- new patch
---
support/scripts/check-host-rpath | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/support/scripts/check-host-rpath b/support/scripts/check-host-rpath
index 45bece8..3df70bd 100755
--- a/support/scripts/check-host-rpath
+++ b/support/scripts/check-host-rpath
@@ -45,7 +45,7 @@ main() {
"${pkg}"
fi
printf "*** %s\n" "${file}"
- done < <(find "${hostdir}"/usr/{bin,sbin} -type f -print |
+ done < <(find "${hostdir}"/usr/{bin,sbin} -type f -print 2>/dev/null |
readelf.filter_elf_executable)
return ${ret}
--
2.8.0
More information about the buildroot
mailing list