From d3a992280e3b7c075e5f7d911d358a161e0c9d84 Mon Sep 17 00:00:00 2001 From: markt Date: Wed, 13 Jul 2011 14:47:32 +0000 Subject: [PATCH] CATALINA_BASE is always set, so simplify git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1146069 13f79535-47bb-0310-9956-ffa450edef68 --- bin/catalina.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/catalina.sh b/bin/catalina.sh index 0594fd3fb..a333fcb2f 100755 --- a/bin/catalina.sh +++ b/bin/catalina.sh @@ -133,9 +133,8 @@ PRGDIR=`dirname "$PRG"` # but allow them to be specified in setenv.sh, in rare case when it is needed. CLASSPATH= -SETENVPATH="${CATALINA_BASE:-$CATALINA_HOME}" -if [ -r "$SETENVPATH/bin/setenv.sh" ]; then - . "$SETENVPATH/bin/setenv.sh" +if [ -r "$CATALINA_BASE/bin/setenv.sh" ]; then + . "$CATALINA_BASE/bin/setenv.sh" elif [ -r "$CATALINA_HOME/bin/setenv.sh" ]; then . "$CATALINA_HOME/bin/setenv.sh" fi -- 2.11.0