X-Git-Url: http://dolda2000.com/gitweb/?p=utils.git;a=blobdiff_plain;f=lddot;h=1748edcb7839749eeeadf2d61283aed64d046602;hp=e9c513344e0dcfdf7990717c52b83df9e752fc41;hb=572b5165560e945420026495e293f490c2c241e3;hpb=5212b5655bec1c132281c2533d447bb50e4652da diff --git a/lddot b/lddot index e9c5133..1748edc 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 } @@ -107,6 +107,7 @@ for bin in "${programs[@]}"; do rv=1 continue fi + echo "\"$bin\" [ shape=box ];" if ! examine "$bin"; then rv=1; fi done echo "}"