From dac043b87528926ee2132dd1b8cfb004ae00aa9a Mon Sep 17 00:00:00 2001 From: rillig Date: Wed, 2 Aug 2006 16:53:00 +0000 Subject: Suppress the warning from make(1) that the error code is ignored when files cannot be deleted. --- mk/bsd.pkg.clean.mk | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'mk') diff --git a/mk/bsd.pkg.clean.mk b/mk/bsd.pkg.clean.mk index 7c9e30665a0..ba250f8ac0a 100644 --- a/mk/bsd.pkg.clean.mk +++ b/mk/bsd.pkg.clean.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.clean.mk,v 1.6 2006/07/27 21:46:45 jlam Exp $ +# $NetBSD: bsd.pkg.clean.mk,v 1.7 2006/08/02 16:53:00 rillig Exp $ # # This Makefile fragment is included to bsd.pkg.mk and defines the # relevant variables and targets for the "clean" phase. @@ -61,9 +61,9 @@ do-clean: fi; \ fi . if defined(WRKOBJDIR) - -${_PKG_SILENT}${_PKG_DEBUG} \ - ${RMDIR} ${BUILD_DIR} 2>/dev/null; \ - ${RM} -f ${WRKDIR_BASENAME} 2>/dev/null + ${_PKG_SILENT}${_PKG_DEBUG} \ + ${RMDIR} ${BUILD_DIR} 2>/dev/null || ${TRUE}; \ + ${RM} -f ${WRKDIR_BASENAME} 2>/dev/null || ${TRUE} . endif .endif -- cgit v1.2.3