summaryrefslogtreecommitdiffstats
path: root/patches/source/gcc/ecj.sh
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/gcc/ecj.sh')
-rw-r--r--patches/source/gcc/ecj.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/patches/source/gcc/ecj.sh b/patches/source/gcc/ecj.sh
new file mode 100644
index 00000000..1d8b7979
--- /dev/null
+++ b/patches/source/gcc/ecj.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+CLASSPATH=@JAVADIR@/ecj.jar${CLASSPATH:+:}$CLASSPATH \
+ java org.eclipse.jdt.internal.compiler.batch.Main "$@"
+