projects
/
tomcat7.0
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff433d7
)
CATALINA_BASE is always set, so simplify
author
markt
<markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 13 Jul 2011 14:47:32 +0000
(14:47 +0000)
committer
markt
<markt@13f79535-47bb-0310-9956-ffa450edef68>
Wed, 13 Jul 2011 14:47:32 +0000
(14:47 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@
1146069
13f79535
-47bb-0310-9956-
ffa450edef68
bin/catalina.sh
patch
|
blob
|
history
diff --git
a/bin/catalina.sh
b/bin/catalina.sh
index
0594fd3
..
a333fcb
100755
(executable)
--- 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