Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/docbook-xsl While 'find ... -exec ... {} +' i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2706f32e30a0
branches:  trunk
changeset: 435924:2706f32e30a0
user:      hauke <hauke%pkgsrc.org@localhost>
date:      Mon Jul 20 18:41:06 2020 +0000

description:
While 'find ... -exec ... {} +' is more efficient, it is less portable.
And for exactly one file, efficiency takes a second seat.

diffstat:

 textproc/docbook-xsl/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 078f2d285eab -r 2706f32e30a0 textproc/docbook-xsl/Makefile
--- a/textproc/docbook-xsl/Makefile     Mon Jul 20 17:09:15 2020 +0000
+++ b/textproc/docbook-xsl/Makefile     Mon Jul 20 18:41:06 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2020/03/28 18:36:42 wiz Exp $
+# $NetBSD: Makefile,v 1.74 2020/07/20 18:41:06 hauke Exp $
 
 DISTNAME=      docbook-xsl-nons-1.79.2
 PKGNAME=       ${DISTNAME:S/-nons//}
@@ -71,7 +71,7 @@
            ${ECHO} "cd ${WRKSRC} && ${PAX} -rw -pp -pm $$d ${DESTDIR}${XSLDIR}/"; \
            cd ${WRKSRC} && ${PAX} -rw -pp -pm $$d ${DESTDIR}${XSLDIR}/; \
        done
-       ${FIND} ${DESTDIR}${XSLDIR} -name '*.orig' -exec ${RM} {} +
+       ${FIND} ${DESTDIR}${XSLDIR} -name '*.orig' -exec ${RM} {} \;
 
 .include "../../textproc/xmlcatmgr/catalogs.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index