summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorHenning Schild <henning.schild@siemens.com>2019-09-03 15:43:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-15 17:49:48 +0100
commit12f0cc209aaba48f846c62663e0b9e5efd253d71 (patch)
tree16858bdfe739e0c4496f4ce01e57b9d921394c8b /scripts
parent477ee7e673684db988c66a75b6400e33509730b4 (diff)
downloadopenembedded-core-contrib-12f0cc209aaba48f846c62663e0b9e5efd253d71.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. Signed-off-by: Henning Schild <henning.schild@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts')
-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 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