summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristian Iorga <cristian.iorga@intel.com>2014-10-10 15:00:29 +0300
committerHenning Heinold <henning@itconsulting-heinold.de>2014-10-14 16:30:04 +0200
commitd031686fedd1f88fb628a8a87916477208377146 (patch)
tree6ac6db55d406ada408b3ea570333ee7c51eef59b
parent49b063c7986e1ae1411f278af53f49f1e77349f7 (diff)
downloadmeta-java-dora.tar.gz
ecj: fix unpackpost taskdora
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@intel.com>
-rw-r--r--recipes-core/ecj/libecj-bootstrap.inc2
1 files changed, 1 insertions, 1 deletions
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() {
29 rm -rf META-INF 29 rm -rf META-INF
30 30
31 # Move source into separate subdir. 31 # Move source into separate subdir.
32 if [ -d org ]; then 32 if [ -d org -a ! -d source/org ]; then
33 mv org source/ 33 mv org source/
34 fi 34 fi
35 # Remove stuff unneeded for the bootstrap compiler. 35 # Remove stuff unneeded for the bootstrap compiler.