summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/devtool/standard.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index dd9232da1c..ccb7ea851b 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -667,13 +667,13 @@ def _extract_source(srctree, keep_temp, devbranch, sync, config, basepath, works
667 if sync: 667 if sync:
668 bb.process.run('git fetch file://' + srcsubdir + ' ' + devbranch + ':' + devbranch, cwd=srctree) 668 bb.process.run('git fetch file://' + srcsubdir + ' ' + devbranch + ':' + devbranch, cwd=srctree)
669 669
670 # Move oe-local-files directory to srctree 670 # Move the oe-local-files directory to srctree.
671 # As the oe-local-files is not part of the constructed git tree, 671 # As oe-local-files is not part of the constructed git tree,
672 # remove them directly during the synchrounizating might surprise 672 # removing it directly during the synchronization might surprise
673 # the users. Instead, we move it to oe-local-files.bak and remind 673 # the user. Instead, we move it to oe-local-files.bak and remind
674 # user in the log message. 674 # the user in the log message.
675 if os.path.exists(srctree_localdir + '.bak'): 675 if os.path.exists(srctree_localdir + '.bak'):
676 shutil.rmtree(srctree_localdir, srctree_localdir + '.bak') 676 shutil.rmtree(srctree_localdir + '.bak')
677 677
678 if os.path.exists(srctree_localdir): 678 if os.path.exists(srctree_localdir):
679 logger.info('Backing up current local file directory %s' % srctree_localdir) 679 logger.info('Backing up current local file directory %s' % srctree_localdir)