For bug #185048, make emerge-webrsync honor http_proxy and ftp_proxy from make.conf.
authorZac Medico <zmedico@gentoo.org>
Sat, 28 Jul 2007 00:07:26 +0000 (00:07 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 28 Jul 2007 00:07:26 +0000 (00:07 -0000)
svn path=/main/trunk/; revision=7415

bin/emerge-webrsync

index 01e7ae5542d87de5d11efea5dda94c4f2493c7de..1e5f60ba1183a554164be6e4c3e83bbbd77cfb18 100755 (executable)
@@ -8,8 +8,9 @@
 type portageq > /dev/null || exit $?
 eval $(portageq envvar -v FEATURES FETCHCOMMAND GENTOO_MIRRORS \
        PORTAGE_BIN_PATH PORTAGE_INST_UID PORTAGE_INST_GID PORTAGE_NICENESS \
-       PORTAGE_TMPDIR PORTDIR PORTAGE_RSYNC_EXTRA_OPTS)
+       PORTAGE_TMPDIR PORTDIR PORTAGE_RSYNC_EXTRA_OPTS http_proxy ftp_proxy)
 DISTDIR="${PORTAGE_TMPDIR}/emerge-webrsync"
+export http_proxy ftp_proxy
 
 # If PORTAGE_NICENESS is overriden via the env then it will
 # still pass through the portageq call and override properly.