summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2008-04-27 08:56:53 +0000
committerMarius Mauch <genone@gentoo.org>2008-04-27 08:56:53 +0000
commit6b391b3ef335c0244f5bb36d0f0c0f61f1ae1a92 (patch)
tree231cfe016fdd667bf25096a63018bb8479553a2e /bin
parentsome minor code fixes (diff)
downloadportage-multirepo-6b391b3ef335c0244f5bb36d0f0c0f61f1ae1a92.tar.gz
portage-multirepo-6b391b3ef335c0244f5bb36d0f0c0f61f1ae1a92.tar.bz2
portage-multirepo-6b391b3ef335c0244f5bb36d0f0c0f61f1ae1a92.zip
actually use rpath for the internal lib check
svn path=/main/trunk/; revision=9997
Diffstat (limited to 'bin')
-rwxr-xr-xbin/misc-functions.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index 995ec0b3..6bc0419e 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -176,7 +176,11 @@ install_qa_check() {
sneeded=$(echo ${needed} | tr , ' ')
rneeded=""
for lib in ${sneeded}; do
- [ -e "${D}/${dir}/${lib}" ] || rneeded="${rneeded},${lib}"
+ found=0
+ for path in ${opath//:/ }; do
+ [ -e "${D}/${path}/${lib}" ] && found=1
+ done
+ [ "${found}" -gt 0 ] && rneeded="${rneeded},${lib}"
done
rneeded=${rneeded:1}
if [ -n "${rneeded}" ]; then