diff options
author | agc <agc@pkgsrc.org> | 1999-08-16 15:37:40 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-08-16 15:37:40 +0000 |
commit | 92b4dbde5b1ba039c5cfb61bc7c52ef669ec9da5 (patch) | |
tree | 94fddd0e24271eeb075b2b509baf295a7f5ea744 /mk/bsd.pkg.mk | |
parent | 0fab4f131c94dc1eea82c52d60619e2b4d9878b5 (diff) | |
download | pkgsrc-92b4dbde5b1ba039c5cfb61bc7c52ef669ec9da5.tar.gz |
Ignore the return code from rm when trying to delete a symbolic link
which may be read-only. Pointed out by Julian Coleman, fixed in a
slightly different way.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index ee3ce9d04bc..50b711203c3 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.313 1999/08/13 18:27:19 tron Exp $ +# $NetBSD: bsd.pkg.mk,v 1.314 1999/08/16 15:37:40 agc Exp $ # # This file is in the public domain. # @@ -1583,7 +1583,7 @@ clean: pre-clean .if !defined(NO_WRKDIR) .ifdef WRKOBJDIR ${_PKG_SILENT}${_PKG_DEBUG}${RM} -rf ${WRKOBJDIR}/${PKGSRC_SUBDIR} - ${_PKG_SILENT}${_PKG_DEBUG}${RM} -f ${WRKDIR_BASENAME} + -${_PKG_SILENT}${_PKG_DEBUG}${RM} -f ${WRKDIR_BASENAME} .else ${_PKG_SILENT}${_PKG_DEBUG}if [ -d ${WRKDIR} ]; then \ if [ -w ${WRKDIR} ]; then \ |