summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-22 17:02:14 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-22 17:02:14 (EDT)
commit6baf644bc8a1eca666373c4ace3c6cad0fb341ff (patch)
tree72cb01f6d21fafec6fcb550c5c2fdf2b4c99da2c /src
parent592b82c5ac0c0e4556a7bf3813181684771bea6a (diff)
oh-shlibdeps: Fix library search path field splitting
Diffstat (limited to 'src')
-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