]> code.ossystems Code Review - openembedded-core.git/commitdiff
Revert "oe-git-proxy: Avoid resolving NO_PROXY against local files"
authorHenning Schild <henning.schild@siemens.com>
Tue, 3 Sep 2019 13:43:47 +0000 (15:43 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 Sep 2019 16:49:47 +0000 (17:49 +0100)
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>
scripts/oe-git-proxy

index 8499a99a71f11f6e192af5a82b46aae0889cd0ee..10e6560da41c3a2afe16376368a99ed8b5598b88 100755 (executable)
@@ -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