aboutsummaryrefslogtreecommitdiff
path: root/www/jakarta-tomcat3
diff options
context:
space:
mode:
authorErnst de Haan <znerd@FreeBSD.org>2002-02-25 08:02:51 +0000
committerErnst de Haan <znerd@FreeBSD.org>2002-02-25 08:02:51 +0000
commit81068d260f2fbaf4c752647503cfe13ac4291b14 (patch)
tree81e50ff7567256683b6531dcab581c0ca23fa196 /www/jakarta-tomcat3
parent020bab01668ef1fa58bdcbbcaebcacf864f8dd5e (diff)
downloadports-81068d260f2fbaf4c752647503cfe13ac4291b14.tar.gz
ports-81068d260f2fbaf4c752647503cfe13ac4291b14.zip
Notes
Diffstat (limited to 'www/jakarta-tomcat3')
-rw-r--r--www/jakarta-tomcat3/files/tomcatctl6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/jakarta-tomcat3/files/tomcatctl b/www/jakarta-tomcat3/files/tomcatctl
index a28cac7623a2..9992f023380b 100644
--- a/www/jakarta-tomcat3/files/tomcatctl
+++ b/www/jakarta-tomcat3/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