mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
www/tomcat85: Remove start_precmd from rcfile
This is not being used, users can use $tomcat85_env to pass variables. PR: 228418 Submitted by: VVD <vvd@unislabs.com> (maintainer) Reported by: Michael Osipov <1983-01-06@gmx.net>
This commit is contained in:
parent
21e302e1c9
commit
67e5674c44
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=475658
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= tomcat
|
||||
PORTVERSION= 8.5.30
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= www java
|
||||
MASTER_SITES= APACHE/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/([0-9])(.*)/\1/}/v${PORTVERSION}/bin
|
||||
PKGNAMESUFFIX= 85
|
||||
|
@ -131,15 +131,4 @@ command_args="-java-home '${_tomcat_java_home}' \
|
||||
org.apache.catalina.startup.Bootstrap \
|
||||
${_tomcat_pipe_cmd}"
|
||||
|
||||
start_precmd="tomcat_prestart"
|
||||
|
||||
tomcat_prestart()
|
||||
{
|
||||
if [ -r "${_tomcat_catalina_base}/bin/setenv.sh" ]; then
|
||||
. "${_tomcat_catalina_base}/bin/setenv.sh"
|
||||
elif [ -r "${_tomcat_catalina_home}/bin/setenv.sh" ]; then
|
||||
. "${_tomcat_catalina_home}/bin/setenv.sh"
|
||||
fi
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user