summaryrefslogtreecommitdiffstats
path: root/scripts/oe-git-proxy
diff options
context:
space:
mode:
authorHenning Schild <henning.schild@siemens.com>2019-09-03 13:43:49 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-16 22:02:44 (GMT)
commit7ffd9ee9c32452c72293e70bd2ec3ae36312dcf1 (patch)
tree3eb43bcab2de7fc1cad1b25986e84ef07dda8c04 /scripts/oe-git-proxy
parent1b970e222e35697db473c2fa912a2b141fe61593 (diff)
downloadpoky-7ffd9ee9c32452c72293e70bd2ec3ae36312dcf1.tar.gz
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. (From OE-Core rev: 12f0cc209aaba48f846c62663e0b9e5efd253d71) 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>
Diffstat (limited to 'scripts/oe-git-proxy')
-rwxr-xr-xscripts/oe-git-proxy2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-git-proxy b/scripts/oe-git-proxy
index 9eeef45..2cb995f 100755
--- a/scripts/oe-git-proxy
+++ b/scripts/oe-git-proxy
@@ -107,7 +107,7 @@ match_host() {
107 HOST=$1 107 HOST=$1
108 GLOB=$2 108 GLOB=$2
109 109
110 if [ -z "${HOST%%$GLOB}" ]; then 110 if [ -z "${HOST%%*$GLOB}" ]; then
111 return 0 111 return 0
112 fi 112 fi
113 113