aboutsummaryrefslogtreecommitdiffstats
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-d031686fedd1f88fb628a8a87916477208377146.tar.gz
meta-java-d031686fedd1f88fb628a8a87916477208377146.tar.bz2
meta-java-d031686fedd1f88fb628a8a87916477208377146.zip
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() {
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.