summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/devtool')
-rw-r--r--scripts/lib/devtool/upgrade.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py
index aa53c8e00b..4f850cf0e4 100644
--- a/scripts/lib/devtool/upgrade.py
+++ b/scripts/lib/devtool/upgrade.py
@@ -53,7 +53,7 @@ def _copy_source_code(orig, dest):
53 dest_dir = os.path.join(dest, os.path.dirname(path)) 53 dest_dir = os.path.join(dest, os.path.dirname(path))
54 bb.utils.mkdirhier(dest_dir) 54 bb.utils.mkdirhier(dest_dir)
55 dest_path = os.path.join(dest, path) 55 dest_path = os.path.join(dest, path)
56 os.rename(os.path.join(orig, path), dest_path) 56 shutil.move(os.path.join(orig, path), dest_path)
57 57
58def _get_checksums(rf): 58def _get_checksums(rf):
59 import re 59 import re