X-Git-Url: http://dolda2000.com/gitweb/?p=utils.git;a=blobdiff_plain;f=lddot;h=bdbc5ebbeb906f6703f64802738424c6a41fe965;hp=e9c513344e0dcfdf7990717c52b83df9e752fc41;hb=f7bd9b51138dbccb7cc2fd27f07ef66d5d2d79cf;hpb=5212b5655bec1c132281c2533d447bb50e4652da diff --git a/lddot b/lddot index e9c5133..bdbc5eb 100755 --- a/lddot +++ b/lddot @@ -41,7 +41,7 @@ has() { 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 } @@ -53,6 +53,7 @@ examine() { while read lib; do if ! lib2="$(findlib "$lib")"; then echo "\"$lib\" [ color=red ];" + echo "lddot: $lib: not found" >&2 echo "\"$1\" -> \"$lib\";" continue fi @@ -107,6 +108,7 @@ for bin in "${programs[@]}"; do rv=1 continue fi + echo "\"$bin\" [ shape=box ];" if ! examine "$bin"; then rv=1; fi done echo "}"