bitbake: fetch2/git: Don't use deprecated API

(Bitbake rev: 8e650b3307b60cfe8e7439ea6891c3a85f785af9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie 2012-09-25 15:55:27 +01:00
parent e8738b83b7
commit a8edf79fce
1 changed files with 1 additions and 1 deletions

View File

@ -257,7 +257,7 @@ class Git(FetchMethod):
indirectiondir = destdir[:-1] + ".indirectionsymlink"
if os.path.exists(indirectiondir):
os.remove(indirectiondir)
bb.mkdirhier(os.path.dirname(indirectiondir))
bb.utils.mkdirhier(os.path.dirname(indirectiondir))
os.symlink(ud.clonedir, indirectiondir)
clonedir = indirectiondir