aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-09-26 21:11:53 +0800
committersobomax <sobomax@FreeBSD.org>2000-09-26 21:11:53 +0800
commit933f6ff277c4e87f98af556715ea3ffa3d3e863a (patch)
tree1443f2e76438d52c668d5beb5d50dfe2bb0dada3
parent3aa5d962faa10a9210b4dbfe823c8ce1213cce5f (diff)
downloadfreebsd-ports-gnome-933f6ff277c4e87f98af556715ea3ffa3d3e863a.tar.gz
freebsd-ports-gnome-933f6ff277c4e87f98af556715ea3ffa3d3e863a.tar.zst
freebsd-ports-gnome-933f6ff277c4e87f98af556715ea3ffa3d3e863a.zip
Let the user-defined CLASSPATH environment variable to take precedence
(important when OpenJIT used).
-rw-r--r--editors/jedit/files/jedit.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/jedit/files/jedit.sh b/editors/jedit/files/jedit.sh
index 1899e761bba7..009d1eb7fd93 100644
--- a/editors/jedit/files/jedit.sh
+++ b/editors/jedit/files/jedit.sh
@@ -1,5 +1,6 @@
#!/bin/sh
-CLASSPATH=%%PREFIX%%/share/java/jedit/swingall.jar:%%PREFIX%%/share/java/jedit/jedit.jar
+# $FreeBSD$
+CLASSPATH=${CLASSPATH}:%%PREFIX%%/share/java/jedit/swingall.jar:%%PREFIX%%/share/java/jedit/jedit.jar
export CLASSPATH
exec %%LOCALBASE%%/bin/javavm org.gjt.sp.jedit.jEdit $@