summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 995ec0b37..6bc0419e0 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