From 01906e318c160b0f6432382137188090bb6f6dc5 Mon Sep 17 00:00:00 2001 From: agc Date: Thu, 22 Jan 1998 11:27:54 +0000 Subject: [PATCH] Ignore the return code from rm when removing the ${WRKDIR} symbolic link, when doing a "make clean" with WRKOBJDIR defined. From Thorsten Frueauf. --- share/mk/bsd.port.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.port.mk b/share/mk/bsd.port.mk index c0d0b10440ff..296f2ebcc7ca 100644 --- a/share/mk/bsd.port.mk +++ b/share/mk/bsd.port.mk @@ -1,7 +1,7 @@ #-*- mode: Fundamental; tab-width: 4; -*- # ex:ts=4 # -# $NetBSD: bsd.port.mk,v 1.32 1998/01/22 10:20:48 agc Exp $ +# $NetBSD: bsd.port.mk,v 1.33 1998/01/22 11:27:54 agc Exp $ # # bsd.port.mk - 940820 Jordan K. Hubbard. # This file is in the public domain. @@ -1416,7 +1416,7 @@ clean: pre-clean .if !defined(NO_WRKDIR) .if defined(WRKOBJDIR) @${RM} -rf ${WRKOBJDIR}/${PORTSUBDIR} - @${RM} ${WRKDIR} + @${RM} -f ${WRKDIR} .else @if [ -d ${WRKDIR} ]; then \ if [ -w ${WRKDIR} ]; then \