diff options
-rwxr-xr-x | find-requires.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/find-requires.in b/find-requires.in index 17ca82d..1fbe75f 100755 --- a/find-requires.in +++ b/find-requires.in @@ -1,7 +1,7 @@ #!/bin/bash # -# Auto-generate requirements for executables (both ELF and a.out) and library +# Auto-generate requirements for ELF executables and library # sonames, script interpreters, and perl modules. # @@ -39,7 +39,7 @@ fi #filelist=`sed "s/['\"]/\\\&/g"` filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"` exelist=`echo "$filelist" | xargs -r file | egrep -v ":.* (commands|script) " | \ - grep ":.*executable" | cut -d: -f1` + grep ":.*ELF.*executable" | cut -d: -f1` scriptlist=`echo "$filelist" | grep -v /usr/doc | grep -v /usr/share/doc | xargs -r file | \ egrep ":.* (commands|script) " | cut -d: -f1` liblist=`echo "$filelist" | egrep -v "/usr/lib(64)?/gcj/" | xargs -r file | \ |