summaryrefslogtreecommitdiff
path: root/autodeps/solaris.prov
blob: d42b7c4fcfabe41afe567f90c63bd7cf761589b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# This script reads filenames from STDIN and outputs any relevant provides
# information that needs to be included in the package.

filelist=`grep "lib.*\\.so" | xargs /usr/ucb/file -L 2>/dev/null |\
	grep "ELF.*dynamic lib" | cut -d: -f1 | sort -u`
for I in $filelist; do
        basename $I
done