summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2007-10-18 08:41:52 +0000
committerdelphij <delphij@FreeBSD.org>2007-10-18 08:41:52 +0000
commita7e0dd392862bb44fad2cd74f295f5a9c5ee712b (patch)
tree48c89fe7210d1978aea524af922ec23aa8b4bb78 /Makefile
parent203345b0a400fdb84815ecb9bd6d6a8aebc46c60 (diff)
downloadFreeBSD-src-a7e0dd392862bb44fad2cd74f295f5a9c5ee712b.zip
FreeBSD-src-a7e0dd392862bb44fad2cd74f295f5a9c5ee712b.tar.gz
Do not bail out for cleanworld target just because
chflags is failed.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e63b559..77d68e5 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
OpenPOWER on IntegriCloud