diff options
author | jlam <jlam@pkgsrc.org> | 2006-07-20 15:42:04 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-07-20 15:42:04 +0000 |
commit | 5ffee8aef3c0a9619b637f62442e2eaf3c0f104b (patch) | |
tree | 23c0b74ec1a795b25e58b0afc740afbfd6624adb /mk/bsd.pkg.clean.mk | |
parent | 98bd70c66b5d732023fc0cbd021b7ba9a4fb1b66 (diff) | |
download | pkgsrc-5ffee8aef3c0a9619b637f62442e2eaf3c0f104b.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.mk | 4 |
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 |