[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    icecream/client
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2006-07-02 18:18:53
Message-ID: 1151864333.979832.8357.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 557215 by aseigo:

make this work on OSes where the libs are possibly deeply nested, such
as /lib/tls/i686/cmov/libc.so.6 on kubuntu.
ok'd by dirk


 M  +1 -1      icecc-create-env  


--- trunk/icecream/client/icecc-create-env #557214:557215
@@ -44,7 +44,7 @@
       for lib in `ldd "$path" | sed -n 's,^[^/]*\(/[^ ]*\).*,\1,p'`; do
 	# Check wether the same library also exists in the parent directory,
 	# and prefer that on the assumption that it is a more generic one.
-	local baselib=`echo "$lib" | sed 's,/[^/]*\(/[^/]*\)$,\1,'`
+	local baselib=`echo "$lib" | sed 's,\(/[^/]*\)/.*\(/[^/]*\)$,\1\2,'`
 	test -f "$baselib" && lib=$baselib
 	add_file "$lib"
       done
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic