diff options
author | Ernst de Haan <znerd@FreeBSD.org> | 2002-02-25 08:02:51 +0000 |
---|---|---|
committer | Ernst de Haan <znerd@FreeBSD.org> | 2002-02-25 08:02:51 +0000 |
commit | 81068d260f2fbaf4c752647503cfe13ac4291b14 (patch) | |
tree | 81e50ff7567256683b6531dcab581c0ca23fa196 /www/tomcat41 | |
parent | 020bab01668ef1fa58bdcbbcaebcacf864f8dd5e (diff) | |
download | ports-81068d260f2fbaf4c752647503cfe13ac4291b14.tar.gz ports-81068d260f2fbaf4c752647503cfe13ac4291b14.zip |
Notes
Diffstat (limited to 'www/tomcat41')
-rw-r--r-- | www/tomcat41/files/tomcatctl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/tomcat41/files/tomcatctl b/www/tomcat41/files/tomcatctl index a28cac7623a2..9992f023380b 100644 --- a/www/tomcat41/files/tomcatctl +++ b/www/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 |