summaryrefslogtreecommitdiffstats
path: root/src/oh-shlibdeps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/oh-shlibdeps.sh')
-rw-r--r--src/oh-shlibdeps.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/oh-shlibdeps.sh b/src/oh-shlibdeps.sh
index 7e2d594..c56b39e 100644
--- a/src/oh-shlibdeps.sh
+++ b/src/oh-shlibdeps.sh
@@ -36,21 +36,16 @@ find_lib()
# Check just-built packages.
for pkg in *.data/; do
- IFS=':'
for dir in ${rtld_dirs}; do
- unset IFS
if [ -r "${pkg}/${dir}/${lib}" ]; then
printf '%s,\n' "${pkg%.data/}"
return 0
fi
done
- unset IFS
done
# Check installed packages.
- IFS=':'
for dir in ${rtld_dirs}; do
- unset IFS
if [ -r "${dir}/${lib}" ]; then
lib="${dir}/${lib}"
pkg="$('@OPKG@' search "${lib}" | sed 's/ - .*$//')"
@@ -63,7 +58,6 @@ find_lib()
fi
fi
done
- unset IFS
oh_warn "$(oh_get_msg 'shlib_no_lib')" "${lib}"
return 0