diff options
author | rillig <rillig> | 2006-08-02 16:53:00 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-08-02 16:53:00 +0000 |
commit | 883b061a29f53af0bfd585d5046b6f107ff7b1aa (patch) | |
tree | 218fb5cf86900a10d237e0c158b6ed22fbd06daa /mk | |
parent | 70c1c86b5d044fe7592a21b152319440cd8b751e (diff) | |
download | pkgsrc-883b061a29f53af0bfd585d5046b6f107ff7b1aa.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 |