excluded() {
for obj in "${exclude[@]}"; do
if [ -d "$obj" ] && [[ "$1" == "$obj"* ]]; then return 0; fi
- if [ "$1" = "$obj" ]; then return 0; fi
+ if [ "$1" -ef "$obj" ]; then return 0; fi
done
return 1
}
while read lib; do
if ! lib2="$(findlib "$lib")"; then
echo "\"$lib\" [ color=red ];"
+ echo "lddot: $lib: not found" >&2
echo "\"$1\" -> \"$lib\";"
continue
fi
rv=1
continue
fi
+ echo "\"$bin\" [ shape=box ];"
if ! examine "$bin"; then rv=1; fi
done
echo "}"