summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Schild <henning.schild@siemens.com>2019-09-03 15:43:47 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-16 23:02:44 +0100
commitf107c9f8152de851ac705de2d5e99fca2ed66781 (patch)
tree9d887ec9d7aa3de3532a39706cfa6971911626d2
parent7efdf528acb3244dfb4ca0b32182a75296a31f24 (diff)
downloadpoky-f107c9f8152de851ac705de2d5e99fca2ed66781.tar.gz
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. (From OE-Core rev: 0fdc12dac6244be135ea519fe9c39109e7cfc6d6) Signed-off-by: Henning Schild <henning.schild@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/oe-git-proxy4
1 files changed, 2 insertions, 2 deletions
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
134fi 134fi
135 135
136# Connect directly to hosts in NO_PROXY 136# Connect directly to hosts in NO_PROXY
137for H in "${NO_PROXY//,/ }"; do 137for H in ${NO_PROXY//,/ }; do
138 if match_host $1 "$H"; then 138 if match_host $1 $H; then
139 exec $SOCAT STDIO $METHOD 139 exec $SOCAT STDIO $METHOD
140 fi 140 fi
141done 141done