diff options
author | tv <tv> | 2006-11-10 17:32:24 +0000 |
---|---|---|
committer | tv <tv> | 2006-11-10 17:32:24 +0000 |
commit | 2f00d2f927ed73bd5fe22281ca5fb3952a8d72b7 (patch) | |
tree | e9fa5b9ae5fe81acb6fe72fce0a432ebd6fa9cb8 /graphics/urt | |
parent | cda57639c4d3856f3e07ef846e6224ed931cdaa0 (diff) | |
download | pkgsrc-2f00d2f927ed73bd5fe22281ca5fb3952a8d72b7.tar.gz |
Use find -print | xargs rather than find -exec.
Use && chains rather than ; so that errors are not thrown away.
Diffstat (limited to 'graphics/urt')
-rw-r--r-- | graphics/urt/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile index f94a6aa9022..38a529a85ad 100644 --- a/graphics/urt/Makefile +++ b/graphics/urt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.44 2006/09/09 02:42:01 obache Exp $ +# $NetBSD: Makefile,v 1.45 2006/11/10 17:32:24 tv Exp $ DISTNAME= urt PKGNAME= urt-3.1b1 @@ -29,13 +29,13 @@ post-extract: post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/urt ${PREFIX}/share/examples/urt - cd ${PREFIX}/share/doc/urt && (\ - ${PAX} -r -p m -s '/doc/./' -f ${DISTDIR}/urt-doc.tar; ) - cd ${PREFIX}/share/examples/urt && (\ - ${PAX} -r -p m -f ${DISTDIR}/urt-img.tar; \ - ${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} . ; \ - ${FIND} . -type d -exec ${CHMOD} 755 '{}' \; ; \ - ${FIND} . -type f -exec ${CHMOD} 644 '{}' \;) + cd ${PREFIX}/share/doc/urt && \ + ${PAX} -r -p m -s '/doc/./' -f ${DISTDIR}/urt-doc.tar + cd ${PREFIX}/share/examples/urt && \ + ${PAX} -r -p m -f ${DISTDIR}/urt-img.tar && \ + ${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} . && \ + ${FIND} . -type d -print | ${XARGS} ${CHMOD} 755 && \ + ${FIND} . -type f -print | ${XARGS} ${CHMOD} 644 .include "../../graphics/netpbm/buildlink3.mk" .include "../../mk/x11.buildlink3.mk" |