From 618587718e609611f7837ee1f0a7291e2fdb9641 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Thu, 18 Oct 2007 08:41:52 +0000 Subject: [PATCH] Do not bail out for cleanworld target just because chflags is failed. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e63b5590e0b..77d68e52d62 100644 --- a/Makefile +++ b/Makefile @@ -147,14 +147,14 @@ cleanworld: .if ${.CURDIR} == ${.OBJDIR} || ${.CURDIR}/obj == ${.OBJDIR} .if exists(${BW_CANONICALOBJDIR}/) -rm -rf ${BW_CANONICALOBJDIR}/* - chflags -R 0 ${BW_CANONICALOBJDIR} + -chflags -R 0 ${BW_CANONICALOBJDIR} rm -rf ${BW_CANONICALOBJDIR}/* .endif # To be safe in this case, fall back to a 'make cleandir' ${_+_}@cd ${.CURDIR}; ${_MAKE} cleandir .else -rm -rf ${.OBJDIR}/* - chflags -R 0 ${.OBJDIR} + -chflags -R 0 ${.OBJDIR} rm -rf ${.OBJDIR}/* .endif