summaryrefslogtreecommitdiff
path: root/autodeps
diff options
context:
space:
mode:
authorewt <devnull@localhost>1996-11-25 16:02:48 +0000
committerewt <devnull@localhost>1996-11-25 16:02:48 +0000
commitfea564a773cccd40296ab05c9d44288f0354d385 (patch)
tree44c398b1022536811ce31abce422054fc3e93350 /autodeps
parentc43e1a299cf5f3898c61481ce6635d5a6d5815c5 (diff)
downloadlibrpm-tizen-fea564a773cccd40296ab05c9d44288f0354d385.tar.gz
librpm-tizen-fea564a773cccd40296ab05c9d44288f0354d385.tar.bz2
librpm-tizen-fea564a773cccd40296ab05c9d44288f0354d385.zip
Initial revision
CVS patchset: 1199 CVS date: 1996/11/25 16:02:48
Diffstat (limited to 'autodeps')
-rw-r--r--autodeps/solaris.req12
1 files changed, 12 insertions, 0 deletions
diff --git a/autodeps/solaris.req b/autodeps/solaris.req
new file mode 100644
index 000000000..3f8c209db
--- /dev/null
+++ b/autodeps/solaris.req
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+# note this works for both a.out and ELF executables
+
+ulimit -c 0
+
+filelist=`xargs -r file | fgrep executable | cut -d: -f1 `
+
+for f in $filelist; do
+ ldd $f | awk '/=>/ { print $1 }'
+done | sort -u | xargs -r -n 1 basename | sort -u
+