X-Git-Url: http://dolda2000.com/gitweb/?p=utils.git;a=blobdiff_plain;f=lddot;h=e9c513344e0dcfdf7990717c52b83df9e752fc41;hp=5c3568cad476d8debccfe04e9c0efaebbffc73d9;hb=5212b5655bec1c132281c2533d447bb50e4652da;hpb=ab22601b8673aa0f4e0ec02e540ea9af456601a3 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