summaryrefslogtreecommitdiffstats
path: root/recipes-core/ecj
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/ecj')
-rw-r--r--recipes-core/ecj/libecj-bootstrap.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/recipes-core/ecj/libecj-bootstrap.inc b/recipes-core/ecj/libecj-bootstrap.inc
index 4f85ba9..9e1cc1d 100644
--- a/recipes-core/ecj/libecj-bootstrap.inc
+++ b/recipes-core/ecj/libecj-bootstrap.inc
@@ -25,17 +25,18 @@ do_unpackpost() {
25 fi 25 fi
26 26
27 # Remove crap. 27 # Remove crap.
28 rm about.html build.xml 28 rm -f about.html build.xml
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 mv org source/ 32 if [ -d org ]; then
33 33 mv org source/
34 fi
34 # Remove stuff unneeded for the bootstrap compiler. 35 # Remove stuff unneeded for the bootstrap compiler.
35 rm -rf source/org/eclipse/jdt/internal/compiler/apt 36 rm -rf source/org/eclipse/jdt/internal/compiler/apt
36 rm -rf source/org/eclipse/jdt/internal/compiler/tool 37 rm -rf source/org/eclipse/jdt/internal/compiler/tool
37 rm -rf source/org/eclipse/jdt/internal/antadapter 38 rm -rf source/org/eclipse/jdt/internal/antadapter
38 rm source/org/eclipse/jdt/core/JDTCompilerAdapter.java 39 rm -f source/org/eclipse/jdt/core/JDTCompilerAdapter.java
39 40
40 # Make a copy of the remaining source to get the embedded 41 # Make a copy of the remaining source to get the embedded
41 # resources. 42 # resources.