diff options
author | tv <tv@pkgsrc.org> | 2006-11-10 17:34:09 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2006-11-10 17:34:09 +0000 |
commit | 0f6b1bb31cff2516edc9bcf840137c956e6cc822 (patch) | |
tree | d14029e2529c2e6d34dc0be3357cb0bc70b8c46d /math/scilab | |
parent | 782ab28b21ea8c65501535b0c04e27715f57f58a (diff) | |
download | pkgsrc-0f6b1bb31cff2516edc9bcf840137c956e6cc822.tar.gz |
Use find -print | xargs rather than find -exec.
Diffstat (limited to 'math/scilab')
-rw-r--r-- | math/scilab/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile index c947f05c5ab..f5bf0e35585 100644 --- a/math/scilab/Makefile +++ b/math/scilab/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.70 2006/05/12 12:39:32 joerg Exp $ +# $NetBSD: Makefile,v 1.71 2006/11/10 17:40:12 tv Exp $ # DISTNAME= ${SCIBASE}-src @@ -88,8 +88,8 @@ post-patch: pre-install: cd ${WRKSRC}/tests && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} distclean cd ${WRKSRC}/examples && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} distclean - ${FIND} ${WRKSRC}/tests -name \*.blsav -exec ${RM} {} \; - ${FIND} ${WRKSRC}/examples -name \*.blsav -exec ${RM} {} \; + ${FIND} ${WRKSRC}/tests -name \*.blsav -print | ${XARGS} ${RM} -f + ${FIND} ${WRKSRC}/examples -name \*.blsav -print | ${XARGS} ${RM} -f ${MV} ${WRKSRC}/maple/maple2scilab.mpl ${WRKSRC}/maple/maple2scilab.mpl.bak ${SED} 's;${WRKSRC};${PREFIX}/lib/${SCIBASE};g' ${WRKSRC}/maple/maple2scilab.mpl.bak > \ ${WRKSRC}/maple/maple2scilab.mpl |