diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-10-31 14:47:22 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-10-31 14:47:22 +0000 |
commit | efbd5e58d4d0d41338c36d9fef5d46b137dc6bb8 (patch) | |
tree | 730bd0bb37f473ad3d214358eb88519d7aef0a3a /meta/classes/base.bbclass | |
parent | af861caace1b7b82a44509f06eadd4a54f686b23 (diff) | |
download | openembedded-core-efbd5e58d4d0d41338c36d9fef5d46b137dc6bb8.tar.gz openembedded-core-efbd5e58d4d0d41338c36d9fef5d46b137dc6bb8.tar.bz2 openembedded-core-efbd5e58d4d0d41338c36d9fef5d46b137dc6bb8.tar.xz openembedded-core-efbd5e58d4d0d41338c36d9fef5d46b137dc6bb8.zip |
base.bbclass: Fix infinite loop
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index c2323fabe..824ce05fc 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 |