Lines 248-254
inst_binary() {
Link Here
|
248 |
local LDSO NAME IO FILE ADDR I1 n f TLIBDIR |
248 |
local LDSO NAME IO FILE ADDR I1 n f TLIBDIR |
249 |
[[ -e $initdir$target ]] && return 0 |
249 |
[[ -e $initdir$target ]] && return 0 |
250 |
# I love bash! |
250 |
# I love bash! |
251 |
ldd $bin 2>/dev/null | while read line; do |
251 |
LC_ALL=C ldd $bin 2>/dev/null | while read line; do |
252 |
[[ $line = 'not a dynamic executable' ]] && return 1 |
252 |
[[ $line = 'not a dynamic executable' ]] && return 1 |
253 |
if [[ $line =~ not\ found ]]; then |
253 |
if [[ $line =~ not\ found ]]; then |
254 |
derror "Missing a shared library required by $bin." |
254 |
derror "Missing a shared library required by $bin." |