diff options
| -rw-r--r-- | meta/classes/base.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 9cf3863ff1..d72267588e 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
| @@ -748,7 +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 | 751 | if not os.path.exists(os.path.expanduser("~/.gitconfig")): |
| 752 | import shutil | ||
| 753 | shutil.copyfile(gitconfig_path, os.path.expanduser("~/.gitconfig")) | ||
| 752 | 754 | ||
| 753 | 755 | ||
| 754 | METADATA_REVISION ?= "${@base_get_metadata_monotone_revision(d)}" | 756 | METADATA_REVISION ?= "${@base_get_metadata_monotone_revision(d)}" |
