diff options
author | rillig <rillig@pkgsrc.org> | 2006-08-02 16:53:00 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-08-02 16:53:00 +0000 |
commit | dac043b87528926ee2132dd1b8cfb004ae00aa9a (patch) | |
tree | 218fb5cf86900a10d237e0c158b6ed22fbd06daa /mk | |
parent | 980abec6b17c1f5844a8662fb63e4bbfa27796c4 (diff) | |
download | pkgsrc-dac043b87528926ee2132dd1b8cfb004ae00aa9a.tar.gz |
Suppress the warning from make(1) that the error code is ignored when
files cannot be deleted.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.clean.mk | 8 |
1 files changed, 4 insertions, 4 deletions
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 |