diff options
author | Henning Schild <henning.schild@siemens.com> | 2019-09-03 15:43:47 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-15 17:49:47 +0100 |
commit | 0fdc12dac6244be135ea519fe9c39109e7cfc6d6 (patch) | |
tree | 9f8717da1f3f90a6a722a3faa24c37448ff73793 /scripts | |
parent | c07134711f97c966d70aaf2798800214d5426005 (diff) | |
download | openembedded-core-contrib-0fdc12dac6244be135ea519fe9c39109e7cfc6d6.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.
Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/oe-git-proxy | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index 8499a99a71f..10e6560da41 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 |