bitbake: Preserve http_proxy and ftp_proxy in fetcher command execution

This commit is contained in:
Richard Purdie committed 2008-10-23 13:34:24 +01:00
1 parent 0cc119f05f
commit f0b1d561c7
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -274,7 +274,7 @@ def runfetchcmd(cmd, d, quiet = False):
# rather than host provided
# Also include some other variables.
# FIXME: Should really include all export varaiables?
exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_PROXY_COMMAND']
exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_PROXY_COMMAND', 'http_proxy', 'ftp_proxy']
for var in exportvars:
val = data.getVar(var, d, True)
+1 -1
View File
@@ -274,7 +274,7 @@ def runfetchcmd(cmd, d, quiet = False):
# rather than host provided
# Also include some other variables.
# FIXME: Should really include all export varaiables?
exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_PROXY_COMMAND']
exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_PROXY_COMMAND', 'http_proxy', 'ftp_proxy']
for var in exportvars:
val = data.getVar(var, d, True)