summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.clean.mk
diff options
context:
space:
mode:
authorrillig <rillig>2006-08-02 16:53:00 +0000
committerrillig <rillig>2006-08-02 16:53:00 +0000
commit883b061a29f53af0bfd585d5046b6f107ff7b1aa (patch)
tree218fb5cf86900a10d237e0c158b6ed22fbd06daa /mk/bsd.pkg.clean.mk
parent70c1c86b5d044fe7592a21b152319440cd8b751e (diff)
downloadpkgsrc-883b061a29f53af0bfd585d5046b6f107ff7b1aa.tar.gz
Suppress the warning from make(1) that the error code is ignored when
files cannot be deleted.
Diffstat (limited to 'mk/bsd.pkg.clean.mk')
-rw-r--r--mk/bsd.pkg.clean.mk8
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