__init__.py: export GIT_PROXY_COMMAND for those behind draconian proxies
Signed-off-by: Mike Turquette <mturquette@ti.com>
This commit is contained in:
parent
4eee576f4f
commit
59040b5d14
|
@ -299,7 +299,7 @@ def runfetchcmd(cmd, d, quiet = False):
|
||||||
# rather than host provided
|
# rather than host provided
|
||||||
# Also include some other variables.
|
# Also include some other variables.
|
||||||
# FIXME: Should really include all export varaiables?
|
# FIXME: Should really include all export varaiables?
|
||||||
exportvars = ['PATH', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_CONFIG', 'http_proxy', 'ftp_proxy', 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME']
|
exportvars = ['PATH', 'GIT_PROXY_COMMAND', 'GIT_PROXY_HOST', 'GIT_PROXY_PORT', 'GIT_CONFIG', 'http_proxy', 'ftp_proxy', 'SSH_AUTH_SOCK', 'SSH_AGENT_PID', 'HOME']
|
||||||
|
|
||||||
for var in exportvars:
|
for var in exportvars:
|
||||||
val = data.getVar(var, d, True)
|
val = data.getVar(var, d, True)
|
||||||
|
|
Loading…
Reference in New Issue