diff options
| -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 d72267588e..9c8cdd8d15 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
| @@ -748,9 +748,9 @@ def generate_git_config(e): | |||
| 748 | ignore_host = 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 | if not os.path.exists(os.path.expanduser("~/.gitconfig")): | 751 | if not os.path.exists(os.path.expanduser("~/.gitconfig")): |
| 752 | import shutil | 752 | import shutil |
| 753 | shutil.copyfile(gitconfig_path, os.path.expanduser("~/.gitconfig")) | 753 | shutil.copyfile(gitconfig_path, os.path.expanduser("~/.gitconfig")) |
| 754 | 754 | ||
| 755 | 755 | ||
| 756 | METADATA_REVISION ?= "${@base_get_metadata_monotone_revision(d)}" | 756 | METADATA_REVISION ?= "${@base_get_metadata_monotone_revision(d)}" |
