aboutsummaryrefslogtreecommitdiff
path: root/www/tomcat41/files
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-08-05 09:37:23 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-08-05 09:37:23 +0000
commit8fc93c2651780229193ed9d11839823f2131ba85 (patch)
treee37cd7bc3cd4c2db2f4a0c3fbaccf0fb732f084c /www/tomcat41/files
parent1d76ac4750fba033154c15bbcde9deba211a90b3 (diff)
downloadports-8fc93c2651780229193ed9d11839823f2131ba85.tar.gz
ports-8fc93c2651780229193ed9d11839823f2131ba85.zip
Notes
Diffstat (limited to 'www/tomcat41/files')
-rw-r--r--www/tomcat41/files/tomcat.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/www/tomcat41/files/tomcat.sh b/www/tomcat41/files/tomcat.sh
index 0b3990d7d84c..ac29e67ca817 100644
--- a/www/tomcat41/files/tomcat.sh
+++ b/www/tomcat41/files/tomcat.sh
@@ -7,13 +7,13 @@ export TOMCAT_HOME
case "$1" in
start)
- if [ -x %%PREFIX%%/tomcat/bin/tomcat.sh ]; then
- %%PREFIX%%/tomcat/bin/tomcat.sh start > /dev/null && echo ' tomcat'
+ if [ -f %%PREFIX%%/tomcat/bin/tomcat.sh ]; then
+ /bin/sh %%PREFIX%%/tomcat/bin/tomcat.sh start > /dev/null && echo ' tomcat'
fi
;;
stop)
- if [ -x %%PREFIX%%/tomcat/bin/tomcat.sh ]; then
- %%PREFIX%%/tomcat/bin/tomcat.sh stop > /dev/null && echo ' tomcat'
+ if [ -f %%PREFIX%%/tomcat/bin/tomcat.sh ]; then
+ /bin/sh %%PREFIX%%/tomcat/bin/tomcat.sh stop > /dev/null && echo ' tomcat'
fi
;;
*)