diff options
author | znerd <znerd@FreeBSD.org> | 2002-02-25 16:02:51 +0800 |
---|---|---|
committer | znerd <znerd@FreeBSD.org> | 2002-02-25 16:02:51 +0800 |
commit | 2431a060315caf782abca4454de4518f7f5fee6f (patch) | |
tree | 8953eccb3bd460299448ba35a88dbc664cc6647c /www/jakarta-tomcat41 | |
parent | abaa7bb0427893503f8ec0adcefec2beec775a67 (diff) | |
download | freebsd-ports-gnome-2431a060315caf782abca4454de4518f7f5fee6f.tar.gz freebsd-ports-gnome-2431a060315caf782abca4454de4518f7f5fee6f.tar.zst freebsd-ports-gnome-2431a060315caf782abca4454de4518f7f5fee6f.zip |
Now sets the CLASSPATH *after* JAVA_HOME is determined.
Reported by: Clive Lin <clive@tongi.org>
Diffstat (limited to 'www/jakarta-tomcat41')
-rw-r--r-- | www/jakarta-tomcat41/files/tomcatctl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/jakarta-tomcat41/files/tomcatctl b/www/jakarta-tomcat41/files/tomcatctl index a28cac7623a2..9992f023380b 100644 --- a/www/jakarta-tomcat41/files/tomcatctl +++ b/www/jakarta-tomcat41/files/tomcatctl @@ -16,15 +16,15 @@ for i in ${APP_HOME}/lib/* ; do CLASSPATH=$i fi done -if [ -f ${JAVA_HOME}/lib/tools.jar ] ; then - CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar -fi # Check if the JAVA_HOME directory is defined, otherwise set it to the # fallback default if [ "${JAVA_HOME}a" = "a" ]; then JAVA_HOME=%%JAVA_HOME%% fi +if [ -f ${JAVA_HOME}/lib/tools.jar ] ; then + CLASSPATH=${CLASSPATH}:${JAVA_HOME}/lib/tools.jar +fi JAVA_CMD=${JAVA_HOME}/bin/java |