The chrooted environment isn't nearly pristine, so reset

MAKEOBJDIRPREFIX to the canonical /usr/obj while there.
This commit is contained in:
Ruslan Ermilov 2002-04-24 12:51:48 +00:00
parent 4ab9c1d126
commit da40970fa0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=95361

View File

@ -388,6 +388,7 @@ rerelease release:
echo "export RELEASEDIR=${_R}" >> ${CHROOTDIR}/mk
echo "export PATH=${BOOTSTRAPDIR}:$${PATH}:${LOCALDIR}" >> ${CHROOTDIR}/mk
echo "export TMPDIR=/tmp" >> ${CHROOTDIR}/mk
echo "export MAKEOBJDIRPREFIX=/usr/obj" >> ${CHROOTDIR}/mk
echo "if [ ! -f /tmp/.world_done ]; then" >> ${CHROOTDIR}/mk
echo " cd /usr/src" >> ${CHROOTDIR}/mk
.if make(release)