From 572b5165560e945420026495e293f490c2c241e3 Mon Sep 17 00:00:00 2001 From: fredrik Date: Sun, 2 Sep 2007 22:42:02 +0000 Subject: [PATCH] Improve lddot a bit more. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@1103 959494ce-11ee-0310-bf91-de5d638817bd --- lddot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 "}" -- 2.11.0