From patchwork Mon Aug 2 19:58:30 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Brunner X-Patchwork-Id: 116587 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o72JwrX7030718 for ; Mon, 2 Aug 2010 19:58:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754929Ab0HBT6h (ORCPT ); Mon, 2 Aug 2010 15:58:37 -0400 Received: from mail-bw0-f46.google.com ([209.85.214.46]:61359 "EHLO mail-bw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754925Ab0HBT6f (ORCPT ); Mon, 2 Aug 2010 15:58:35 -0400 Received: by bwz1 with SMTP id 1so1616559bwz.19 for ; Mon, 02 Aug 2010 12:58:33 -0700 (PDT) Received: by 10.204.126.223 with SMTP id d31mr4425911bks.146.1280779113300; Mon, 02 Aug 2010 12:58:33 -0700 (PDT) Received: from chb-desktop (e181035128.adsl.alicedsl.de [85.181.35.128]) by mx.google.com with ESMTPS id y27sm4378838bkw.14.2010.08.02.12.58.31 (version=SSLv3 cipher=RC4-MD5); Mon, 02 Aug 2010 12:58:32 -0700 (PDT) Date: Mon, 2 Aug 2010 21:58:30 +0200 From: Christian Brunner To: Sage Weil Cc: ceph-devel@vger.kernel.org Subject: [PATCH] cclass: fix .so loading file Message-ID: <20100802195830.GC4923@chb-desktop> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: ceph-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: ceph-devel@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 02 Aug 2010 19:58:56 +0000 (UTC) diff --git a/src/cclass.in b/src/cclass.in index 69513fa..1a2a807 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`