diff options
-rwxr-xr-x | find-libdeps.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |