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
commit7c02ee68115e93c7b696431bd799bd7284edda69 (patch)
tree644020e950dd21471409fad34db66c6d2d37e602 /scripts
parentkill the old .43ppc rescue tarball (diff)
downloadhistorical-7c02ee68115e93c7b696431bd799bd7284edda69.tar.gz
historical-7c02ee68115e93c7b696431bd799bd7284edda69.tar.bz2
historical-7c02ee68115e93c7b696431bd799bd7284edda69.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