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:
parent
0f44acfd04
commit
d868a6a60c
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue