From fdfc78c283a5eb9fffd287651d7067e2927200cf Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Fri, 3 Jun 2011 15:06:30 +0200 Subject: update find-libdep.sh Signed-off-by: Florian Pritz --- find-libdeps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/find-libdeps.sh b/find-libdeps.sh index 0c93548..bfad7c0 100755 --- a/find-libdeps.sh +++ b/find-libdeps.sh @@ -22,7 +22,7 @@ in_array() { return 1 # Not Found } -find . -type f -executable | while read filename; do +find . -type f -perm -u+x | while read filename; do # get architecture of the file; if soarch is empty it's not an ELF binary soarch=$(LC_ALL=C readelf -h "$filename" 2>/dev/null | sed -n 's/.*Class.*ELF\(32\|64\)/\1/p') [ -n "$soarch" ] || continue -- cgit v1.2.3-24-g4f1b