summaryrefslogtreecommitdiff
path: root/meta/lib/oe/path.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-22 00:27:55 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-22 00:27:55 +0100
commitac9e6822f1e83baf6b1430a352adbca9c9185597 (patch)
tree0c5fd308e9a40d065620ced250d5844319555ff2 /meta/lib/oe/path.py
parent87dba4254b74a43bb712495ba8ebd71890a92634 (diff)
downloadopenembedded-core-ac9e6822f1e83baf6b1430a352adbca9c9185597.tar.gz
openembedded-core-ac9e6822f1e83baf6b1430a352adbca9c9185597.tar.bz2
openembedded-core-ac9e6822f1e83baf6b1430a352adbca9c9185597.zip
lib/oe/path: Use bb.utils.copyfile as shutils can't cope with copying unreadable files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/lib/oe/path.py')
-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):
elif os.path.isdir(srcname):
copytree(srcname, dstname)
else:
- shutil.copy2(srcname, dstname)
+ bb.utils.copyfile(srcname, dstname)
except (IOError, os.error), why:
errors.append((srcname, dstname, str(why)))
# catch the Error from the recursive copytree so that we can