From: Henning Schild Date: Tue, 3 Sep 2019 13:43:47 +0000 (+0200) Subject: Revert "oe-git-proxy: Avoid resolving NO_PROXY against local files" X-Git-Tag: uninative-2.7~185 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=0fdc12dac6244be135ea519fe9c39109e7cfc6d6;p=openembedded-core.git Revert "oe-git-proxy: Avoid resolving NO_PROXY against local files" This reverts commit cbc148d5d93d5f3531434fee7b234a16196b3088. The quoting causes H to be one string with spaces, so looping over multiple entries does not work anymore. Signed-off-by: Henning Schild Signed-off-by: Ross Burton --- diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index 8499a99a71..10e6560da4 100755 --- a/scripts/oe-git-proxy +++ b/scripts/oe-git-proxy @@ -134,8 +134,8 @@ if [ -z "$ALL_PROXY" ]; then fi # Connect directly to hosts in NO_PROXY -for H in "${NO_PROXY//,/ }"; do - if match_host $1 "$H"; then +for H in ${NO_PROXY//,/ }; do + if match_host $1 $H; then exec $SOCAT STDIO $METHOD fi done