My previous change could conceivably succeed at removing CHROOTDIR.

Ignore errors from the chflags command that follows it, just in case.
This commit is contained in:
John Polstra 1998-06-08 20:58:02 +00:00
parent 01f0fef31b
commit 492cf9a427
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=36777

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.354 1998/06/06 04:39:42 jkoshy Exp $
# $Id: Makefile,v 1.355 1998/06/07 21:53:01 jdp Exp $
#
# make release CHROOTDIR=/some/dir BUILDNAME=somename [ RELEASETAG=tag ]
#
@ -131,7 +131,7 @@ rerelease release:
# The first command will fail on a handful of files that have their schg
# flags set. But it greatly speeds up the next two commands.
-rm -rf ${CHROOTDIR}
chflags -R noschg ${CHROOTDIR}/.
-chflags -R noschg ${CHROOTDIR}/.
-rm -rf ${CHROOTDIR}
.endif
-mkdir -p ${CHROOTDIR}