summaryrefslogtreecommitdiff
path: root/java/eclipse-ecj/files
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-03-24 23:21:33 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-03-24 23:21:33 +0000
commita729825c44e3ea9cbeec129487377fc0f2608c89 (patch)
tree29ebd1682dbdcbda83d61be90567b15059766c51 /java/eclipse-ecj/files
parent- Update to 1.0.0 [1] (diff)
- java 1.6+ is required
- bump PORTREVISION Submitted by: glewis@ (via email) Feature safe: yes
Notes
Notes: svn path=/head/; revision=293776
Diffstat (limited to 'java/eclipse-ecj/files')
-rw-r--r--java/eclipse-ecj/files/ecj.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/eclipse-ecj/files/ecj.sh.in b/java/eclipse-ecj/files/ecj.sh.in
index 825e0a840bb8..bfbba17fc3d2 100644
--- a/java/eclipse-ecj/files/ecj.sh.in
+++ b/java/eclipse-ecj/files/ecj.sh.in
@@ -1,3 +1,3 @@
#!/bin/sh
-%%LOCALBASE%%/bin/java -classpath %%JAVAJARDIR%%/ecj-%%PORTVERSION%%.jar org.eclipse.jdt.internal.compiler.batch.Main ${@:--help}
+JAVA_VERSION="%%JAVA_VERSION%%" "%%LOCALBASE%%/bin/java" -classpath "%%JAVAJARDIR%%/ecj-%%PORTVERSION%%.jar" org.eclipse.jdt.internal.compiler.batch.Main "${@:--help}"