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
commitdda6d0790c78a091091931f2aabc9a935b6e7b0f (patch)
tree742930693caab3409010db05072c9c512ac02886 /scripts
parentUpdated version, 0.1 released - Yay! (diff)
downloadhistorical-dda6d0790c78a091091931f2aabc9a935b6e7b0f.tar.gz
historical-dda6d0790c78a091091931f2aabc9a935b6e7b0f.tar.bz2
historical-dda6d0790c78a091091931f2aabc9a935b6e7b0f.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