From 2b1d317dab2b6d464a49819043683594517fa9e1 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Fri, 6 May 2011 13:34:07 +0000 Subject: 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 --- find-requires.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 | \ -- cgit v1.2.1