diff options
author | Xin LI <delphij@FreeBSD.org> | 2007-10-18 08:41:52 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2007-10-18 08:41:52 +0000 |
commit | 618587718e609611f7837ee1f0a7291e2fdb9641 (patch) | |
tree | 48c89fe7210d1978aea524af922ec23aa8b4bb78 /Makefile | |
parent | 0f3c4f0fac7fe97eecc66643caa7a4dd16768221 (diff) | |
download | src-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |