3 # This script reads filenames from STDIN and outputs any relevant provides
4 # information that needs to be included in the package.
6 PATH=/usr/bin:/usr/ccs/bin:/usr/sbin:/sbin
9 filelist=`grep "lib.*\\.so" | xargs /usr/ucb/file -L 2>/dev/null |\
10 grep "ELF.*dynamic lib" | cut -d: -f1 | sort -u`
11 for I in $filelist; do