diff options
author | agc <agc@pkgsrc.org> | 1999-08-04 13:49:02 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-08-04 13:49:02 +0000 |
commit | a3d4c1dd82128f84130927db9b72421b60856757 (patch) | |
tree | 310f785296dd755e069c501d3e58e3bfc6fb63ae /mk | |
parent | 019d8b1c5b03eb9b5beb2feced20844aeb95b3a6 (diff) | |
download | pkgsrc-a3d4c1dd82128f84130927db9b72421b60856757.tar.gz |
Ignore result of ${RM} command in do-extract target - the original ${LN} -fs
command was split into two specific commands: ${RM} -f, then ${LN} -s, for
Solaris ln(1) behaviour, and, as pointed out by Julian Coleman, this can
have an unfortunate side-effect on read-only filesystems.
Diffstat (limited to '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 26e8d13931a..9678d6d9785 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.307 1999/07/28 10:58:30 agc Exp $ +# $NetBSD: bsd.pkg.mk,v 1.308 1999/08/04 13:49:02 agc Exp $ # # This file is in the public domain. # @@ -967,7 +967,7 @@ do-extract: ${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${WRKDIR} .ifdef WRKOBJDIR ${_PKG_SILENT}${_PKG_DEBUG} \ - ${RM} -f ${WRKDIR_BASENAME}; \ + ${RM} -f ${WRKDIR_BASENAME} || ${TRUE}; \ if ${LN} -s ${WRKDIR} ${WRKDIR_BASENAME} 2>/dev/null; then \ ${ECHO} "${WRKDIR_BASENAME} -> ${WRKDIR}"; \ fi |