aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2007-10-18 08:41:52 +0000
committerXin LI <delphij@FreeBSD.org>2007-10-18 08:41:52 +0000
commit618587718e609611f7837ee1f0a7291e2fdb9641 (patch)
tree48c89fe7210d1978aea524af922ec23aa8b4bb78 /Makefile
parent0f3c4f0fac7fe97eecc66643caa7a4dd16768221 (diff)
downloadsrc-618587718e609611f7837ee1f0a7291e2fdb9641.tar.gz
src-618587718e609611f7837ee1f0a7291e2fdb9641.zip
Do not bail out for cleanworld target just because
chflags is failed.
Notes
Notes: svn path=/head/; revision=172744
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e63b5590e0bb..77d68e52d62f 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