diff --git a/release/Makefile b/release/Makefile index 97827587868..228d71f69d1 100644 --- a/release/Makefile +++ b/release/Makefile @@ -376,6 +376,7 @@ rerelease release: # Don't remove this, or the build will fall over! echo "export RELEASEDIR=${_R}" >> ${CHROOTDIR}/mk echo "export PATH=${BOOTSTRAPDIR}:$${PATH}:${LOCALDIR}" >> ${CHROOTDIR}/mk + echo "export TMPDIR=/tmp" >> ${CHROOTDIR}/mk echo "if [ ! -f /tmp/.world_done ]; then" >> ${CHROOTDIR}/mk echo " cd /usr/src" >> ${CHROOTDIR}/mk .if make(release)