summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrant Goodyear <g2boojum@gentoo.org>2002-02-06 20:29:00 +0000
committerGrant Goodyear <g2boojum@gentoo.org>2002-02-06 20:29:00 +0000
commit24acafe1f0eec163afed873ba9fca8e3cb399230 (patch)
treea8b0082b387911aebaf5a5cb74bfa3422eb53576 /scripts
parentUpdated version, 0.1 released - Yay! (diff)
downloadgentoo-2-24acafe1f0eec163afed873ba9fca8e3cb399230.tar.gz
gentoo-2-24acafe1f0eec163afed873ba9fca8e3cb399230.tar.bz2
gentoo-2-24acafe1f0eec163afed873ba9fca8e3cb399230.zip
Now export proxy info from make.conf before it gets clobbered.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bootstrap.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 796831ccdd15..b3ffa46a3404 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -31,6 +31,24 @@ export CFLAGS="`spython -c 'import portage; print portage.settings["CFLAGS"];'`"
export CHOST="`spython -c 'import portage; print portage.settings["CHOST"];'`"
export CXXFLAGS="`spython -c 'import portage; print portage.settings["CXXFLAGS"];'`"
export MAKEOPTS="`spython -c 'import portage; print portage.settings["MAKEOPTS"];'`"
+PROXY="`spython -c 'import portage; print portage.settings["PROXY"];'`"
+if [ -n "${PROXY}" ]
+then
+ echo "exporting PROXY=${PROXY}"
+ export PROXY
+fi
+HTTP_PROXY="`spython -c 'import portage; print portage.settings["HTTP_PROXY"];'`"
+if [ -n "${HTTP_PROXY}" ]
+then
+ echo "exporting HTTP_PROXY=${HTTP_PROXY}"
+ export HTTP_PROXY
+fi
+FTP_PROXY="`spython -c 'import portage; print portage.settings["FTP_PROXY"];'`"
+if [ -n "${FTP_PROXY}" ]
+then
+ echo "exporting FTP_PROXY=${FTP_PROXY}"
+ export FTP_PROXY
+fi
export CONFIG_PROTECT=""
#above allows portage to overwrite stuff