From 12f0cc209aaba48f846c62663e0b9e5efd253d71 Mon Sep 17 00:00:00 2001 From: Henning Schild Date: Tue, 3 Sep 2019 15:43:49 +0200 Subject: oe-git-proxy: NO_PROXY suffix matching without wildcard for match_host NO_PROXY can also contain just suffixes that do not start with a "*". We failed to match those so far. Just add an extra "*" to also match those suffixes. If one was there we get "**" which does not hurt. Signed-off-by: Henning Schild Signed-off-by: Ross Burton --- scripts/oe-git-proxy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/oe-git-proxy') diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy index 9eeef45dcf5..2cb995f43cf 100755 --- a/scripts/oe-git-proxy +++ b/scripts/oe-git-proxy @@ -107,7 +107,7 @@ match_host() { HOST=$1 GLOB=$2 - if [ -z "${HOST%%$GLOB}" ]; then + if [ -z "${HOST%%*$GLOB}" ]; then return 0 fi -- cgit 1.2.3-korg