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