From: fredrik Date: Sun, 2 Sep 2007 22:42:02 +0000 (+0000) Subject: Improve lddot a bit more. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=572b5165560e945420026495e293f490c2c241e3;p=utils.git Improve lddot a bit more. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@1103 959494ce-11ee-0310-bf91-de5d638817bd --- 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 "}"