diff options
author | Simon Stelling <blubb@gentoo.org> | 2006-04-15 18:42:28 +0000 |
---|---|---|
committer | Simon Stelling <blubb@gentoo.org> | 2006-04-15 18:42:28 +0000 |
commit | d68ec90157a963f3483c09915b1844ee43b4ac77 (patch) | |
tree | 6553f68fc4267b99784f10fb2fe03a3454505eef /bin/find-requires | |
parent | 1b7e9bacc284926b12a4d64a288d373de8b1708f (diff) | |
download | portage-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.gz portage-d68ec90157a963f3483c09915b1844ee43b4ac77.tar.bz2 portage-d68ec90157a963f3483c09915b1844ee43b4ac77.zip |
`` must die
svn path=/main/trunk/; revision=3155
Diffstat (limited to 'bin/find-requires')
-rwxr-xr-x | bin/find-requires | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/find-requires b/bin/find-requires index efd356e2e..82959b748 100755 --- a/bin/find-requires +++ b/bin/find-requires @@ -8,10 +8,10 @@ ulimit -c 0 -filelist=`sed "s/['\"]/\\\&/g"` -exelist=`echo $filelist | $XARGS file | grep ":.*executable" | cut -d: -f1 ` -scriptlist=`echo $filelist | $XARGS file | egrep ":.* (commands|script) " | cut -d: -f1 ` -liblist=`echo $filelist | $XARGS file | grep ":.*shared object" | cut -d : -f1 ` +filelist=$(sed "s/['\"]/\\\&/g") +exelist=$(echo $filelist | $XARGS file | grep ":.*executable" | cut -d: -f1 ) +scriptlist=$(echo $filelist | $XARGS file | egrep ":.* (commands|script) " | cut -d: -f1 ) +liblist=$(echo $filelist | $XARGS file | grep ":.*shared object" | cut -d : -f1 ) for f in $exelist; do if [ -x $f ]; then |