mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Do not bail out for cleanworld target just because
chflags is failed.
This commit is contained in:
parent
0f3c4f0fac
commit
618587718e
1 changed files with 2 additions and 2 deletions
4
Makefile
4
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue