]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
fetch2: Export upper and lower case environment variables
authorDarren Hart <dvhart@linux.intel.com>
Tue, 5 Feb 2013 22:52:44 +0000 (14:52 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Feb 2013 13:09:54 +0000 (13:09 +0000)
commitc3e6b2c5ec81d5ad7dcf606fff16fd5552bd267c
tree4ccadc11582147a261867d71c7c58af92a718cd7
parent0a99563a4ea270594fd9a61da46f9387fb79dc66
fetch2: Export upper and lower case environment variables

Applications are inconsistent in their use of upper and lower case proxy
variables. Curl, for example, specifies NO_PROXY (not no_proxy) in the
man page (changed in 2009 [1]). Avoid proxy issues by ensuring both the
upper and lower case versions of each proxy variable is available in the
environment for the fetcher commands.

Add FTPS_PROXY and ftps_proxy to the list as well.

1. http://curl.haxx.se/mail/tracker-2009-04/0012.html

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/fetch2/__init__.py