Date: Tue, 2 Nov 2010 00:13:45 +0100 (CET) From: Olli Hauer <ohauer@FreeBSD.org> To: <FreeBSD-gnats-submit@FreeBSD.org> Cc: ohauer@gmx.de Subject: ports/151879: [patch] port www/tomcat41 replace ugly find construct Message-ID: <20101101231345.D36372048D@u18-124.dslaccess.de> Resent-Message-ID: <201011012320.oA1NKAis080581@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 151879 >Category: ports >Synopsis: [patch] port www/tomcat41 replace ugly find construct >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Nov 01 23:20:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Olli Hauer <ohauer@FreeBSD.org> >Release: FreeBSD 7.3-RELEASE-p3 i386 >Organization: >Environment: >Description: Replace a ugly find construct in post-patch phase >How-To-Repeat: >Fix: --- patch_tomcat41.txt begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/www/tomcat41/Makefile,v retrieving revision 1.72 diff -u -r1.72 Makefile --- Makefile 8 Dec 2008 06:43:50 -0000 1.72 +++ Makefile 1 Nov 2010 22:05:40 -0000 @@ -78,7 +78,7 @@ post-patch: @${ECHO_MSG} -n ">> Removing unneeded files..." - @${RM} -f `${FIND} ${WRKSRC} -name '*.bat'` `${FIND} ${WRKSRC} -name '*.orig'` `${FIND} ${WRKSRC} -name '*.exe'` + @${FIND} ${WRKSRC} -type f \( -name '*.bak' -or -name '*.bat' -or -name '*.dll' -or -name '*.exe' -or -name '*.orig' \) -delete @${ECHO_MSG} " [ DONE ]" .for file in ${REPLACE_FILES} --- patch_tomcat41.txt ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101101231345.D36372048D>