diff options
author | ewt <devnull@localhost> | 1996-11-19 20:35:51 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1996-11-19 20:35:51 +0000 |
commit | 8f846037f5df73eda19529ad0e8ff2532c3c6269 (patch) | |
tree | b7842f44a1b7a921eae03d49f68c87687c2b7138 /autodeps | |
parent | 96858e59b086e62af97f2358652ac2c28399c293 (diff) | |
download | librpm-tizen-8f846037f5df73eda19529ad0e8ff2532c3c6269.tar.gz librpm-tizen-8f846037f5df73eda19529ad0e8ff2532c3c6269.tar.bz2 librpm-tizen-8f846037f5df73eda19529ad0e8ff2532c3c6269.zip |
follow symlinks and ignore 'file' errors
CVS patchset: 1179
CVS date: 1996/11/19 20:35:51
Diffstat (limited to 'autodeps')
-rw-r--r-- | autodeps/linux.prov | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autodeps/linux.prov b/autodeps/linux.prov index 8e990c35b..d82091bf0 100644 --- a/autodeps/linux.prov +++ b/autodeps/linux.prov @@ -3,7 +3,7 @@ # This script reads filenames from STDIN and outputs any relevant provides # information that needs to be included in the package. -filelist=$(grep "\\.so" | grep -v "^/lib/ld.so" | xargs file | grep "ELF.*shared object" | cut -d: -f1) +filelist=$(grep "\\.so" | grep -v "^/lib/ld.so" | xargs file -L 2>/dev/null | grep "ELF.*shared object" | cut -d: -f1) for f in $filelist; do soname=$(objdump --raw $f --section=.dynstr 2> /dev/null | tr '\0' '\n' | tail -1) |