aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-01-05 18:10:53 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2014-01-05 18:10:53 +0000
commitfee694fc683a8c8976de79ecbab5e3b047fad561 (patch)
treed8d6ca75f2bba927289ba22d0a3421950adf1229
parentb022baf0e89f56acc46b722cb4f87a879214e851 (diff)
downloadmeta-opie-fee694fc683a8c8976de79ecbab5e3b047fad561.tar.gz
meta-opie-fee694fc683a8c8976de79ecbab5e3b047fad561.tar.bz2
meta-opie-fee694fc683a8c8976de79ecbab5e3b047fad561.zip
libopie2: fix bashism
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--recipes-opie/libopie/libopie2.inc6
1 files changed, 2 insertions, 4 deletions
diff --git a/recipes-opie/libopie/libopie2.inc b/recipes-opie/libopie/libopie2.inc
index af4385f..955cd60 100644
--- a/recipes-opie/libopie/libopie2.inc
+++ b/recipes-opie/libopie/libopie2.inc
@@ -78,11 +78,9 @@ do_install() {
for module in ${MODULES}
do
cd $module
- for i in `find . -name "*.h"`
+ for i in `find . -path ./private -prune -o -name "*.h" -print`
do
- if [[ $i != ./private/* ]] ; then
- install -m 0644 $i ${D}${includedir}/opie2/`basename $i`
- fi
+ install -m 0644 $i ${D}${includedir}/opie2/`basename $i`
done
cd ..
done