termux_step_massage: Fix logic for undefined symbols
The pattern `for lib in "$(find [...])"` does not work if `find` matches
more than one file. Double quotes around `$(...)` must be removed.
This bug was introduced in 849112f9e7
, and
the check did not work correctly from then on, until now.
This commit is contained in:
parent
d30a2d6b57
commit
78715de5be
|
@ -109,7 +109,7 @@ termux_step_massage() {
|
|||
SYMBOLS+=" $(echo libandroid_{sem_{open,close,unlink},shm{ctl,get,at,dt}})"
|
||||
SYMBOLS+=" $(echo backtrace{,_symbols{,_fd}})"
|
||||
grep_pattern="$(create_grep_pattern $SYMBOLS)"
|
||||
for lib in "$(find lib -name "*.so")"; do
|
||||
for lib in $(find lib -name "*.so"); do
|
||||
if ! $READELF -h "$lib" &> /dev/null; then
|
||||
continue
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue