bug
This commit is contained in:
parent
f663e59746
commit
e3344f512e
2
toinst
2
toinst
|
@ -360,7 +360,7 @@ debian:*)
|
||||||
;;
|
;;
|
||||||
runs:*)
|
runs:*)
|
||||||
v="${TOMCAT_PROFILE#runs:tomcat}"
|
v="${TOMCAT_PROFILE#runs:tomcat}"
|
||||||
if [ -z "$CATALINA_BASE" -a "$v" != "$TOMCAT_PROFILE" ]; then
|
if [ -z "$CATALINA_BASE" -a -n "$v" -a "$v" != "$TOMCAT_PROFILE" ]; then
|
||||||
array_lsdirs ts /opt "apache-tomcat-$v*"
|
array_lsdirs ts /opt "apache-tomcat-$v*"
|
||||||
CATALINA_BASE="${ts[0]}"
|
CATALINA_BASE="${ts[0]}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue