From: Aníbal Limón Date: Thu, 28 Jan 2016 22:49:34 +0000 (-0600) Subject: toolchain-shar-extract.sh: Add proxy variable to new env. X-Git-Tag: 2016-4~1040 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6d65712660a314916ebee5abc9990404216dbe00;p=openembedded-core.git 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 Signed-off-by: Ross Burton --- 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/::/:/'`