From 5212b5655bec1c132281c2533d447bb50e4652da Mon Sep 17 00:00:00 2001 From: fredrik Date: Sun, 2 Sep 2007 22:32:07 +0000 Subject: [PATCH] Fixed up lddot a bit. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/utils@1102 959494ce-11ee-0310-bf91-de5d638817bd --- lddot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lddot b/lddot index 5c3568c..e9c5133 100755 --- a/lddot +++ b/lddot @@ -5,7 +5,7 @@ while read dir; do if [ "${dir:0:1}" == "#" ]; then continue elif [ -d "$dir" ]; then - ldpath=$("${LDPATH[@]}" "$dir") + ldpath=("${ldpath[@]}" "$dir") fi done "$tfile" while read lib; do if ! lib2="$(findlib "$lib")"; then - echo "lddot: $lib: not found" >&2 - rm -f "$tfile" - return 1 + echo "\"$lib\" [ color=red ];" + echo "\"$1\" -> \"$lib\";" + continue fi lib="$lib2" unset lib2 -- 2.11.0