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 Richard Purdie
parent 0f44acfd04
commit d868a6a60c
1 changed files with 1 additions and 1 deletions

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)