diff options
author | Cristian Iorga <cristian.iorga@intel.com> | 2014-10-10 15:00:29 +0300 |
---|---|---|
committer | Henning Heinold <henning@itconsulting-heinold.de> | 2014-10-14 16:30:04 +0200 |
commit | d031686fedd1f88fb628a8a87916477208377146 (patch) | |
tree | 6ac6db55d406ada408b3ea570333ee7c51eef59b /recipes-core/ecj/libecj-bootstrap.inc | |
parent | 49b063c7986e1ae1411f278af53f49f1e77349f7 (diff) | |
download | meta-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>
Diffstat (limited to 'recipes-core/ecj/libecj-bootstrap.inc')
-rw-r--r-- | recipes-core/ecj/libecj-bootstrap.inc | 2 |
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. |