From: Holger Freyther Date: Sat, 5 Aug 2006 15:34:10 +0000 (+0000) Subject: classes/base.bbclass: Make find call portable X-Git-Tag: Release-2010-05/1~9453^2~999^2~20^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cec7e8b86adcac86d627779a678be324a5a7b8d8;p=openembedded.git classes/base.bbclass: Make find call portable Make the find invocation portable (BSD) by specifying '.' as the to be searched directory. The error on libtool-native was: find: illegal option -- n find: illegal option -- a find: illegal option -- m find: illegal option -- e --- diff --git a/classes/base.bbclass b/classes/base.bbclass index 85756edacd..e36c3e3aa3 100644 --- a/classes/base.bbclass +++ b/classes/base.bbclass @@ -172,7 +172,7 @@ oe_libinstall() { dir=`pwd` fi dotlai=$libname.lai - dir=$dir`(cd $dir; find -name "$dotlai") | sed "s/^\.//;s/\/$dotlai\$//;q"` + dir=$dir`(cd $dir;find . -name "$dotlai") | sed "s/^\.//;s/\/$dotlai\$//;q"` olddir=`pwd` __runcmd cd $dir