Use ${RM} -f to avoid failure if no files are found to be removed.

This commit is contained in:
hans 2012-02-02 09:59:39 +00:00
parent 906ba7c681
commit 7f1955d78f

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.37 2011/09/16 05:46:24 obache Exp $
# $NetBSD: Makefile,v 1.38 2012/02/02 09:59:39 hans Exp $
DISTNAME= mantisbt-1.1.7
PKGNAME= ${DISTNAME:S/mantisbt/mantis/}
@ -66,7 +66,7 @@ do-install:
${RM} ${WRKSRC}/${f}
. endfor
cd ${WRKSRC} && ${FIND} . -name .cvsignore -print | ${XARGS} ${RM}
cd ${WRKSRC} && ${FIND} . -name .cvsignore -print | ${XARGS} ${RM} -f
cd ${WRKSRC} && pax -rwpppm . ${DESTDIR}${MANTIS_HOME}
cd ${DESTDIR}${MANTIS_HOME} && \