diff options
-rwxr-xr-x | find-sodeps.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/find-sodeps.sh b/find-sodeps.sh index b522cee..0c93548 100755 --- a/find-sodeps.sh +++ b/find-sodeps.sh @@ -22,8 +22,7 @@ in_array() { return 1 # Not Found } -find . -type f | while read filename -do +find . -type f -executable | 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 |