diff options
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/devtool/upgrade.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index 487308912f..9cd50be3a2 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py | |||
@@ -442,7 +442,7 @@ def _create_new_recipe(newpv, md5, sha256, srcrev, srcbranch, srcsubdir_old, src | |||
442 | def _check_git_config(): | 442 | def _check_git_config(): |
443 | def getconfig(name): | 443 | def getconfig(name): |
444 | try: | 444 | try: |
445 | value = bb.process.run('git config --global %s' % name)[0].strip() | 445 | value = bb.process.run('git config %s' % name)[0].strip() |
446 | except bb.process.ExecutionError as e: | 446 | except bb.process.ExecutionError as e: |
447 | if e.exitcode == 1: | 447 | if e.exitcode == 1: |
448 | value = None | 448 | value = None |