From 0fdc12dac6244be135ea519fe9c39109e7cfc6d6 Mon Sep 17 00:00:00 2001 From: Henning Schild Date: Tue, 3 Sep 2019 15:43:47 +0200 Subject: 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 --- scripts/oe-git-proxy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit 1.2.3-korg