summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe')
-rw-r--r--meta/lib/oe/path.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/path.py b/meta/lib/oe/path.py
index d671ce9216..f42faeab26 100644
--- a/meta/lib/oe/path.py
+++ b/meta/lib/oe/path.py
@@ -70,7 +70,7 @@ def copytree(src, dst):
70 elif os.path.isdir(srcname): 70 elif os.path.isdir(srcname):
71 copytree(srcname, dstname) 71 copytree(srcname, dstname)
72 else: 72 else:
73 shutil.copy2(srcname, dstname) 73 bb.utils.copyfile(srcname, dstname)
74 except (IOError, os.error), why: 74 except (IOError, os.error), why:
75 errors.append((srcname, dstname, str(why))) 75 errors.append((srcname, dstname, str(why)))
76 # catch the Error from the recursive copytree so that we can 76 # catch the Error from the recursive copytree so that we can