summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/upgrade.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/devtool/upgrade.py')
-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 77b48f45a7..f2a93b7acf 100644
--- a/scripts/lib/devtool/upgrade.py
+++ b/scripts/lib/devtool/upgrade.py
@@ -81,7 +81,7 @@ def _rename_recipe_dirs(oldpv, newpv, path):
81 if olddir.find(oldpv) != -1: 81 if olddir.find(oldpv) != -1:
82 newdir = olddir.replace(oldpv, newpv) 82 newdir = olddir.replace(oldpv, newpv)
83 if olddir != newdir: 83 if olddir != newdir:
84 _run('mv %s %s' % (olddir, newdir)) 84 shutil.move(os.path.join(path, olddir), os.path.join(path, newdir))
85 85
86def _rename_recipe_file(bpn, oldpv, newpv, path): 86def _rename_recipe_file(bpn, oldpv, newpv, path):
87 oldrecipe = "%s_%s.bb" % (bpn, oldpv) 87 oldrecipe = "%s_%s.bb" % (bpn, oldpv)