Revert "oe-git-proxy: Avoid resolving NO_PROXY against local files"

This reverts commit cbc148d5d9.

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>
This commit is contained in:
Henning Schild
2019-09-03 15:43:47 +02:00
committed by Richard Purdie
parent 7efdf528ac
commit f107c9f815

View File

@@ -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