summaryrefslogtreecommitdiff
path: root/autodeps/solaris.req
diff options
context:
space:
mode:
Diffstat (limited to 'autodeps/solaris.req')
-rw-r--r--autodeps/solaris.req2
1 files changed, 1 insertions, 1 deletions
diff --git a/autodeps/solaris.req b/autodeps/solaris.req
index d0f7f8928..05e40247c 100644
--- a/autodeps/solaris.req
+++ b/autodeps/solaris.req
@@ -10,7 +10,7 @@ ulimit -c 0
filelist=`sed "s/['\"]/\\\&/g"`
[ -z "$filelist" ] && exit #emulate -r option for xargs
-for f in `echo $filelist | xargs file | fgrep executable | cut -d: -f1`; do
+for f in `echo $filelist | xargs file | grep -F executable | cut -d: -f1`; do
ldd $f 2>/dev/null | awk '/\=\>/ { print $1 }'
done | sort -u | sed "s/['\"]/\\\&/g" | xargs -n 1 basename | sort -u