aboutsummaryrefslogtreecommitdiffstats
path: root/find-requires.in
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-02-06 14:52:40 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-02-06 14:52:40 +0000
commit5711fbc199db949ad071c26193191d81cae2dcb9 (patch)
treeed076c2a03b3a94d26b5a2fa287936f2dbdafcf8 /find-requires.in
parent321b4e76b29bffe252e242c4b793c10acaa6239f (diff)
downloadrpm-setup-5711fbc199db949ad071c26193191d81cae2dcb9.tar
rpm-setup-5711fbc199db949ad071c26193191d81cae2dcb9.tar.gz
rpm-setup-5711fbc199db949ad071c26193191d81cae2dcb9.tar.bz2
rpm-setup-5711fbc199db949ad071c26193191d81cae2dcb9.tar.xz
rpm-setup-5711fbc199db949ad071c26193191d81cae2dcb9.zip
- fix typo in test
Diffstat (limited to 'find-requires.in')
-rwxr-xr-xfind-requires.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-requires.in b/find-requires.in
index 6aabbd5..cd98377 100755
--- a/find-requires.in
+++ b/find-requires.in
@@ -214,7 +214,7 @@ for i in `echo $filelist | tr '[:blank:]' "\n" | egrep "(/usr(/X11R6)?)?/lib(|64
objd=`objdump -p ${i} | grep SONAME`
lib64=`if file -L $i 2>/dev/null | grep "ELF 64-bit" >/dev/null; then echo "(64bit)"; fi` && \
if [ -h ${i} -a -n "${objd}" ]; then
- if [ "$needed" -eq 1 ]; then
+ if [ "$needed" -eq 0 ]; then
ldd ${i} \
| grep -v "statically linked" \
| grep -v "/\(lib\|lib64\)/\(ld\|ld64\|ld-linux.*\)\.so" \