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: yocto-4.0~22694 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6d65712660a314916ebee5abc9990404216dbe00;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 d844771de0b..12d39c38933 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/::/:/'`