Safer version of the chflags command.

This commit is contained in:
Ruslan Ermilov 2005-01-13 08:29:51 +00:00
parent de8a6c067a
commit 37966461c0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140167

View File

@ -354,7 +354,7 @@ release rerelease:
# NB: clear any vestigial devfs mount, just in case
-umount ${CHROOTDIR}/dev > /dev/null 2>&1
-rm -rf ${CHROOTDIR} 2>/dev/null
-chflags -R noschg ${CHROOTDIR}/.
-chflags -R 0 ${CHROOTDIR}/.
-rm -rf ${CHROOTDIR}
.endif
mkdir -p ${CHROOTDIR}