diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2016-01-28 16:49:34 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-10 15:51:03 +0000 |
commit | 6d65712660a314916ebee5abc9990404216dbe00 (patch) | |
tree | ee011f1bdeedabb4f1440c45fe87a003d2963d2f /meta | |
parent | 1c79fce34a02fee696bccb085a09957d71d87d56 (diff) | |
download | openembedded-core-6d65712660a314916ebee5abc9990404216dbe00.tar.gz openembedded-core-6d65712660a314916ebee5abc9990404216dbe00.tar.bz2 openembedded-core-6d65712660a314916ebee5abc9990404216dbe00.zip |
toolchain-shar-extract.sh: Add proxy variable to new env.
Extensible SDK needs to do network operations so add proxies to
environment.
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/files/toolchain-shar-extract.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh index d844771de0..12d39c3893 100644 --- a/meta/files/toolchain-shar-extract.sh +++ b/meta/files/toolchain-shar-extract.sh @@ -1,6 +1,8 @@ #!/bin/sh -[ -z "$ENVCLEANED" ] && exec /usr/bin/env -i ENVCLEANED=1 HOME="$HOME" "$0" "$@" +[ -z "$ENVCLEANED" ] && exec /usr/bin/env -i ENVCLEANED=1 HOME="$HOME" \ + http_proxy="$http_proxy" https_proxy="$https_proxy" ftp_proxy="$ftp_proxy" \ + no_proxy="$no_proxy" GIT_PROXY_COMMAND="$GIT_PROXY_COMMAND" "$0" "$@" [ -f /etc/environment ] && . /etc/environment export PATH=`echo "$PATH" | sed -e 's/:\.//' -e 's/::/:/'` |