diff options
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 |