mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 08:33:24 +00:00
Safer version of the chflags command.
This commit is contained in:
parent
de8a6c067a
commit
37966461c0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140167
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user