summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Jones <carpaski@gentoo.org>2002-11-13 03:49:15 +0000
committerNicholas Jones <carpaski@gentoo.org>2002-11-13 03:49:15 +0000
commit15bfffc5db47fa6adc0d3bb9d95d3e15422d2a69 (patch)
tree0d8293a936004c0389f354adbde69e7aa49e0a4c /scripts
parentkill the old .43ppc rescue tarball (diff)
downloadgentoo-2-15bfffc5db47fa6adc0d3bb9d95d3e15422d2a69.tar.gz
gentoo-2-15bfffc5db47fa6adc0d3bb9d95d3e15422d2a69.tar.bz2
gentoo-2-15bfffc5db47fa6adc0d3bb9d95d3e15422d2a69.zip
Exporting PORTDIR, PKGDIR, DISTDIR, PORTAGE_TMPDIR
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 316a312eb417..52d45ab79e76 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -58,6 +58,12 @@ trap "cleanup" INT QUIT TSTP
export ORIGUSE="`$PYTHON -c 'import portage; print portage.settings["USE"];'`"
export GENTOO_MIRRORS="`$PYTHON -c 'import portage; print portage.settings["GENTOO_MIRRORS"];'`"
export USE="-* build bootstrap"
+
+export PORTDIR="`$PYTHON -c 'import portage; print portage.settings["PORTDIR"];'`"
+export DISTDIR="`$PYTHON -c 'import portage; print portage.settings["DISTDIR"];'`"
+export PKGDIR="`$PYTHON -c 'import portage; print portage.settings["PKGDIR"];'`"
+export PORTAGE_TMPDIR="`$PYTHON -c 'import portage; print portage.settings["PORTAGE_TMPDIR"];'`"
+
#get correct CFLAGS, CHOST, CXXFLAGS, MAKEOPTS since make.conf will be
#overwritten
cp /etc/make.conf /etc/make.conf.build