summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/base.bbclass6
1 files changed, 3 insertions, 3 deletions
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):
741 f = open(gitconfig_path, 'w') 741 f = open(gitconfig_path, 'w')
742 f.write("[core]\n") 742 f.write("[core]\n")
743 ignore_count = 1 743 ignore_count = 1
744 ignore_host = " gitproxy = non for %s" % data.getVar('GIT_PROXY_IGNORE_1', e.data, True) 744 ignore_host = data.getVar('GIT_PROXY_IGNORE_1', e.data, True)
745 while (ignore_host): 745 while (ignore_host):
746 f.write(ignore_host) 746 f.write(" gitproxy = non for %s" % ignore_host)
747 ignore_count += 1 747 ignore_count += 1
748 ignore_host = " gitproxy = non for %s\n" % data.getVar('GIT_PROXY_IGNORE_%s' % ignore_count, e.data, True) 748 ignore_host = data.getVar('GIT_PROXY_IGNORE_%s' % ignore_count, e.data, True)
749 f.write(proxy_command) 749 f.write(proxy_command)
750 f.close 750 f.close
751 751