diff options
author | ryoon <ryoon@pkgsrc.org> | 2011-12-16 17:03:28 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2011-12-16 17:03:28 +0000 |
commit | b559c789bf3a2700b4c60a05a09141ef5816a83e (patch) | |
tree | 79d60a396f0a5f7437d4595dc90b5b859d2d6a86 /www | |
parent | 8023174f480bb9ff0fc6139c9173938a85d8acba (diff) | |
download | pkgsrc-b559c789bf3a2700b4c60a05a09141ef5816a83e.tar.gz |
Fix pasto in files/jetty.sh.
Bump PKGREVISION.
Diffstat (limited to 'www')
-rw-r--r-- | www/jetty7/Makefile | 3 | ||||
-rw-r--r-- | www/jetty7/files/jetty.sh | 8 |
2 files changed, 6 insertions, 5 deletions
diff --git a/www/jetty7/Makefile b/www/jetty7/Makefile index c38b54ce8aa..1a847b50caf 100644 --- a/www/jetty7/Makefile +++ b/www/jetty7/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.1.1.1 2011/12/15 22:19:10 ryoon Exp $ +# $NetBSD: Makefile,v 1.2 2011/12/16 17:03:28 ryoon Exp $ # DISTNAME= jetty-distribution-7.5.4.v20111024 PKGNAME= ${DISTNAME:S/distribution-//:S/.v/./} +PKGREVISION= 1 CATEGORIES= www MASTER_SITES= http://download.eclipse.org/jetty/7.5.4.v20111024/dist/ diff --git a/www/jetty7/files/jetty.sh b/www/jetty7/files/jetty.sh index f5ff485bcc0..d90fa1d0b48 100644 --- a/www/jetty7/files/jetty.sh +++ b/www/jetty7/files/jetty.sh @@ -1,6 +1,6 @@ #! @RCD_SCRIPTS_SHELL@ # -# $NetBSD: jetty.sh,v 1.1.1.1 2011/12/15 22:19:11 ryoon Exp $ +# $NetBSD: jetty.sh,v 1.2 2011/12/16 17:03:28 ryoon Exp $ # # PROVIDE: jetty # REQUIRE: DAEMON @@ -54,7 +54,7 @@ export CLASSPATH jetty_precmd() { - if [ ! -d @VARBASE@/run/tomcat ]; then + if [ ! -d @VARBASE@/run/jetty ]; then @MKDIR@ ${JETTY_RUN} @CHMOD@ 0750 ${JETTY_RUN} @CHOWN@ ${jetty_user}:${jetty_group} ${JETTY_RUN} @@ -75,7 +75,7 @@ jetty_stop() } -tomcat_run() +jetty_run() { cd ${JETTY_HOME}/logs @SU@ ${jetty_user} -c "${command} run" @@ -87,5 +87,5 @@ then run_rc_command "$1" else echo -n ' ${name}' - exec ${command} ${tomcat_flags} ${command_args} + exec ${command} ${jetty_flags} ${command_args} fi |