summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2006-08-05 15:34:10 +0000
committerHolger Freyther <zecke@selfish.org>2006-08-05 15:34:10 +0000
commitcec7e8b86adcac86d627779a678be324a5a7b8d8 (patch)
tree6ed12810c46b5682b99ac6141020f7532ff4499a /classes
parente7760197cbf93e0fd40e018d4b1838f2beaf544f (diff)
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
Diffstat (limited to 'classes')
-rw-r--r--classes/base.bbclass2
1 files changed, 1 insertions, 1 deletions
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