[oe] [PATCH 2/2] ecj: fix unpackpost task
Cristian Iorga
cristian.iorga at intel.com
Fri Oct 10 12:00:29 UTC 2014
ecj recipe is built as initial and as native,
as such, unpackpost is run multiple times over
the same code source. Added check if a move
operation hasn't been already executed.
Signed-off-by: Cristian Iorga <cristian.iorga at intel.com>
---
recipes-core/ecj/libecj-bootstrap.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-core/ecj/libecj-bootstrap.inc b/recipes-core/ecj/libecj-bootstrap.inc
index 9e1cc1d..cd9d90f 100644
--- a/recipes-core/ecj/libecj-bootstrap.inc
+++ b/recipes-core/ecj/libecj-bootstrap.inc
@@ -29,7 +29,7 @@ do_unpackpost() {
rm -rf META-INF
# Move source into separate subdir.
- if [ -d org ]; then
+ if [ -d org -a ! -d source/org ]; then
mv org source/
fi
# Remove stuff unneeded for the bootstrap compiler.
--
1.9.1
More information about the Openembedded-devel
mailing list