summaryrefslogtreecommitdiff
path: root/autodeps/solaris.prov
diff options
context:
space:
mode:
Diffstat (limited to 'autodeps/solaris.prov')
-rw-r--r--autodeps/solaris.prov3
1 files changed, 3 insertions, 0 deletions
diff --git a/autodeps/solaris.prov b/autodeps/solaris.prov
index d42b7c4fc..6e0fe9f1a 100644
--- a/autodeps/solaris.prov
+++ b/autodeps/solaris.prov
@@ -3,6 +3,9 @@
# This script reads filenames from STDIN and outputs any relevant provides
# information that needs to be included in the package.
+PATH=/usr/bin:/usr/ccs/bin:/usr/sbin:/sbin
+export PATH
+
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