[oe-commits] [openembedded-core] 12/58: oe-git-proxy: NO_PROXY suffix matching without wildcard for match_host
git at git.openembedded.org
git at git.openembedded.org
Sun Sep 15 16:59:06 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit 12f0cc209aaba48f846c62663e0b9e5efd253d71
Author: Henning Schild <henning.schild at siemens.com>
AuthorDate: Tue Sep 3 15:43:49 2019 +0200
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 at siemens.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
scripts/oe-git-proxy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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() {
HOST=$1
GLOB=$2
- if [ -z "${HOST%%$GLOB}" ]; then
+ if [ -z "${HOST%%*$GLOB}" ]; then
return 0
fi
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list