[oe-commits] [openembedded-core] 10/58: Revert "oe-git-proxy: Avoid resolving NO_PROXY against local files"
git at git.openembedded.org
git at git.openembedded.org
Sun Sep 15 16:59:04 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 0fdc12dac6244be135ea519fe9c39109e7cfc6d6
Author: Henning Schild <henning.schild at siemens.com>
AuthorDate: Tue Sep 3 15:43:47 2019 +0200
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 <henning.schild at siemens.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
scripts/oe-git-proxy | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy
index 8499a99..10e6560 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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list