diff options
Diffstat (limited to 'www/jakarta-tomcat4/files/tomcatctl')
-rw-r--r-- | www/jakarta-tomcat4/files/tomcatctl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/www/jakarta-tomcat4/files/tomcatctl b/www/jakarta-tomcat4/files/tomcatctl index a28cac7623a2..9992f023380b 100644 --- a/www/jakarta-tomcat4/files/tomcatctl +++ b/www/jakarta-tomcat4/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 |