From: Richard Purdie Date: Fri, 31 Oct 2008 14:47:22 +0000 (+0000) Subject: base.bbclass: Fix infinite loop X-Git-Tag: 2011-1~7872 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=efbd5e58d4d0d41338c36d9fef5d46b137dc6bb8;p=openembedded-core.git base.bbclass: Fix infinite loop --- diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index c2323fabe9..824ce05fc9 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -741,11 +741,11 @@ def generate_git_config(e): f = open(gitconfig_path, 'w') f.write("[core]\n") ignore_count = 1 - ignore_host = " gitproxy = non for %s" % data.getVar('GIT_PROXY_IGNORE_1', e.data, True) + ignore_host = data.getVar('GIT_PROXY_IGNORE_1', e.data, True) while (ignore_host): - f.write(ignore_host) + f.write(" gitproxy = non for %s" % ignore_host) ignore_count += 1 - ignore_host = " gitproxy = non for %s\n" % data.getVar('GIT_PROXY_IGNORE_%s' % ignore_count, e.data, True) + ignore_host = data.getVar('GIT_PROXY_IGNORE_%s' % ignore_count, e.data, True) f.write(proxy_command) f.close