summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.clean.mk
diff options
context:
space:
mode:
authorjlam <jlam>2006-07-20 15:42:04 +0000
committerjlam <jlam>2006-07-20 15:42:04 +0000
commitd4b36580f99df8c707a861547aa97310ad88152c (patch)
tree23c0b74ec1a795b25e58b0afc740afbfd6624adb /mk/bsd.pkg.clean.mk
parent40c25f5ff71cfd3c27bda25d8a37bdb7463320a8 (diff)
downloadpkgsrc-d4b36580f99df8c707a861547aa97310ad88152c.tar.gz
Don't bother with error messages when attempting to remove the "work"
symlink in the pkgsrc tree in case it's actually a stale work directory. This gets rid of this error: ===> Cleaning for pkg_install-20060701 rm: work: is a directory *** Error code 1 (ignored)
Diffstat (limited to 'mk/bsd.pkg.clean.mk')
-rw-r--r--mk/bsd.pkg.clean.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.clean.mk b/mk/bsd.pkg.clean.mk
index f7198fb259a..738061172fe 100644
--- a/mk/bsd.pkg.clean.mk
+++ b/mk/bsd.pkg.clean.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.clean.mk,v 1.4 2006/06/05 22:49:44 jlam Exp $
+# $NetBSD: bsd.pkg.clean.mk,v 1.5 2006/07/20 15:42:04 jlam Exp $
#
# This Makefile fragment is included to bsd.pkg.mk and defines the
# relevant variables and targets for the "clean" phase.
@@ -63,7 +63,7 @@ do-clean:
. if defined(WRKOBJDIR)
-${_PKG_SILENT}${_PKG_DEBUG} \
${RMDIR} ${BUILD_DIR} 2>/dev/null; \
- ${RM} -f ${WRKDIR_BASENAME}
+ ${RM} -f ${WRKDIR_BASENAME} 2>/dev/null
. endif
.endif