From: Christian Brunner Date: Mon, 2 Aug 2010 19:58:30 +0000 (+0200) Subject: cclass: fix .so loading file X-Git-Tag: v0.21.1~17 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=baa69ad7ce239df41667eab295547f67c6ac3ead;p=ceph.git cclass: fix .so loading file The only thing I've found, is that the *.so files are included in the -devel rpm. This leads to the fact that the 'find' in cclass doesn't return any files. I'd suggest the attached change in the script. Christian Signed-off-by: Sage Weil --- diff --git a/src/cclass.in b/src/cclass.in index 69513fa85890..1a2a807371b9 100755 --- a/src/cclass.in +++ b/src/cclass.in @@ -85,7 +85,7 @@ load() { } load_all() { - all=`find $libdir -name 'libcls_*.so'`; + all=`find $libdir -name 'libcls_*.so*' -type f`; if [ -n "$all" ]; then for fn in $all; do echo Loading class: $fn: `$BINDIR/cclsinfo $fn`