From cec7e8b86adcac86d627779a678be324a5a7b8d8 Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Sat, 5 Aug 2006 15:34:10 +0000 Subject: [PATCH] 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 --- classes/base.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5