From 4b24337a51b49a70c3b45f2327c663a3bc5bb1bf Mon Sep 17 00:00:00 2001 From: Eric Bélanger Date: Wed, 6 Jul 2011 23:56:18 -0400 Subject: lddd: Replace hardcoded list of library directories by those listed in /etc/ld.so.conf.d MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eric Bélanger Signed-off-by: Pierre Schmitz --- lddd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lddd b/lddd index 1bd69a8..de2145c 100755 --- a/lddd +++ b/lddd @@ -4,9 +4,9 @@ # ifs=$IFS -IFS=':' +IFS="${IFS}:" -libdirs='/lib:/usr/lib:/opt/qt/lib:/opt/kde/lib:/usr/lib/libfakeroot:/opt/NX/lib' +libdirs="/lib /usr/lib $(cat /etc/ld.so.conf.d/*)" extras= TEMPDIR=$(mktemp -d /tmp/lddd-script.XXXX) -- cgit v1.2.3-70-g09d2