From d031686fedd1f88fb628a8a87916477208377146 Mon Sep 17 00:00:00 2001 From: Cristian Iorga Date: Fri, 10 Oct 2014 15:00:29 +0300 Subject: ecj: fix unpackpost task 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 --- 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. -- cgit v1.2.3-54-g00ecf