|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 13/32] target_cmd_build: Honour $c{HttpProxy}
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
Osstest/TestSupport.pm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index 2d1ba9e..1053016 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -559,7 +559,12 @@ sub target_cmd_build ($$$$) {
export CCACHE_PREFIX DISTCC_FALLBACK DISTCC_HOSTS
END
- target_cmd($ho, <<END.$distcc.<<END.$script, $timeout);
+ my $httpproxy = defined($c{HttpProxy}) ? <<END : "";
+ http_proxy=$c{HttpProxy}
+ export http_proxy
+END
+
+ target_cmd($ho, <<END.$distcc.$httpproxy.<<END.$script, $timeout);
set -xe
LC_ALL=C; export LC_ALL
PATH=/usr/lib/ccache:\$PATH:/usr/lib/git-core
--
1.7.10.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |