aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorMakoto Matsushita <matusita@FreeBSD.org>2002-06-19 15:06:38 +0000
committerMakoto Matsushita <matusita@FreeBSD.org>2002-06-19 15:06:38 +0000
commitdafdb1b4c56a233dc6cfe37a55a1c95afe668bac (patch)
treeeab6d6056f6d831c2aa2b8860ba80ea2753eb2ca /release
parentf832bb8c373d3bd2dba5bc9165e1b642bbf595b0 (diff)
Notes
Diffstat (limited to 'release')
-rw-r--r--release/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index ba0eb3982fb2f..530c3a39a9e2c 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -392,7 +392,7 @@ rerelease release:
.endif
# Don't remove this, or the build will fall over!
echo "export RELEASEDIR=${_R}" >> ${CHROOTDIR}/mk
- echo "export PATH=$${PATH}:${LOCALDIR}" >> ${CHROOTDIR}/mk
+ echo "export PATH=/bin:/usr/bin:/sbin:/usr/sbin:${LOCALDIR}" >> ${CHROOTDIR}/mk
echo "export TMPDIR=/tmp" >> ${CHROOTDIR}/mk
echo "export MAKEOBJDIRPREFIX=/usr/obj" >> ${CHROOTDIR}/mk
echo "export MANBUILDCAT=YES" >> ${CHROOTDIR}/mk
@@ -406,7 +406,7 @@ rerelease release:
echo "make \$${_RELTARGET}" >> ${CHROOTDIR}/mk
echo "echo \">>> make ${.TARGET} for ${TARGET} finished on \`LC_ALL=C TZ=GMT date\`\"" >> ${CHROOTDIR}/mk
chmod 755 ${CHROOTDIR}/mk
- chroot ${CHROOTDIR} /mk
+ env -i /usr/sbin/chroot ${CHROOTDIR} /mk
clean:
rm -rf boot_crunch release.[0-9]