]> code.ossystems Code Review - openembedded-core.git/commitdiff
lib/oe/path.py: Use bb.utils.mkdirhier instead of bb.mkdirhier
authorKhem Raj <raj.khem@gmail.com>
Wed, 2 Mar 2011 08:37:20 +0000 (00:37 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Mar 2011 17:08:54 +0000 (17:08 +0000)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/path.py

index 48138605d02c0f70f48ce7e710f8a09b664f8ff7..08ddbf22aae5cfeac67fc042264f5d6cca90ea20 100644 (file)
@@ -52,7 +52,7 @@ def copytree(src, dst):
     # If dst already has contents performance can be 15 time slower
     # This way we also preserve hardlinks between files in the tree.
 
-    bb.mkdirhier(dst)
+    bb.utils.mkdirhier(dst)
     cmd = 'tar -cf - -C %s -ps . | tar -xf - -C %s' % (src, dst)
     check_output(cmd, shell=True, stderr=subprocess.STDOUT)