diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-05-06 13:34:07 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-05-06 13:34:07 +0000 |
commit | 2b1d317dab2b6d464a49819043683594517fa9e1 (patch) | |
tree | bbe3b362704947bac5a90be8bf14568fe5419698 /find-requires.in | |
parent | 54941d877a16df700edc60c6220e0018cb12948f (diff) | |
download | rpm-setup-2b1d317dab2b6d464a49819043683594517fa9e1.tar rpm-setup-2b1d317dab2b6d464a49819043683594517fa9e1.tar.gz rpm-setup-2b1d317dab2b6d464a49819043683594517fa9e1.tar.bz2 rpm-setup-2b1d317dab2b6d464a49819043683594517fa9e1.tar.xz rpm-setup-2b1d317dab2b6d464a49819043683594517fa9e1.zip |
fix script file filtering, according to latest changes in file command output
thanks to Funda Wang for reporting the problem :
http://www.mageia.org/pipermail/mageia-dev/20110506/004442.html
Diffstat (limited to 'find-requires.in')
-rwxr-xr-x | find-requires.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/find-requires.in b/find-requires.in index 0750da7..b091797 100755 --- a/find-requires.in +++ b/find-requires.in @@ -41,7 +41,7 @@ filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"` exelist=`echo "$filelist" | xargs -r file | egrep -v ":.* (commands|script) " | \ 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` + egrep ":.* (commands|script)" | cut -d: -f1` liblist=`echo "$filelist" | egrep -v "/usr/lib(64)?/gcj/" | xargs -r file | \ grep ":.*shared object" | cut -d : -f1` ocamllist=`echo "$filelist" | xargs -r file | \ |