pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/mantis Use ${RM} -f to avoid failure if no files...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6153bdaefcc7
branches:  trunk
changeset: 598951:6153bdaefcc7
user:      hans <hans%pkgsrc.org@localhost>
date:      Thu Feb 02 09:59:39 2012 +0000

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

diffstat:

 devel/mantis/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c390773930b0 -r 6153bdaefcc7 devel/mantis/Makefile
--- a/devel/mantis/Makefile     Thu Feb 02 09:48:42 2012 +0000
+++ b/devel/mantis/Makefile     Thu Feb 02 09:59:39 2012 +0000
@@ -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 @@
                ${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} && \



Home | Main Index | Thread Index | Old Index