lib/oe/path.py: Use bb.utils.mkdirhier instead of bb.mkdirhier

(From OE-Core rev: 5a22a8c06743b0a8a3d949288b99d53bd4b7ceb3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Khem Raj
2011-03-02 00:37:20 -08:00
committed by Saul Wold
parent 3a39d96928
commit 84752f34f9

View 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)