aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-13 04:23:02 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-13 04:23:02 +0000
commit4c0afb6aa237417bba71da2bb8979f34c3ea466b (patch)
treecc3c3661ff8dbe8503cadfdbbba96fcc2b5389f3 /www
parent5b806a2bbff82219300aa4a4fa69f04bc5129b76 (diff)
Notes
Diffstat (limited to 'www')
-rw-r--r--www/tomcat6/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/www/tomcat6/Makefile b/www/tomcat6/Makefile
index de252a991457..a13f64725557 100644
--- a/www/tomcat6/Makefile
+++ b/www/tomcat6/Makefile
@@ -70,8 +70,7 @@ pre-patch:
post-patch:
@${REINPLACE_CMD} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${WRKSRC}/conf/server.xml
- @${RM} -f `${FIND} ${WRKSRC} -name '*.bat'` `${FIND} ${WRKSRC} -name '*.exe'` \
- `${FIND} ${WRKSRC} -name '*.orig'` `${FIND} ${WRKSRC} -name '*.bak'`
+ @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.bat' -or -name '*.dll' -or -name '*.exe' -or -name '*.orig' \) -delete
.for f in ${CONF_FILES}
@${MV} ${WRKSRC}/conf/${f} ${WRKSRC}/conf/${f}.${CONF_EXT}
.endfor