summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/fetch/git.py')
-rw-r--r--lib/bb/fetch/git.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bb/fetch/git.py b/lib/bb/fetch/git.py
index 7d5233911..981c494b4 100644
--- a/lib/bb/fetch/git.py
+++ b/lib/bb/fetch/git.py
@@ -131,7 +131,7 @@ class Git(Fetch):
# If the checkout doesn't exist and the mirror tarball does, extract it
if not os.path.exists(ud.clonedir) and os.path.exists(repofile):
- bb.mkdirhier(ud.clonedir)
+ bb.utils.mkdirhier(ud.clonedir)
os.chdir(ud.clonedir)
runfetchcmd("tar -xzf %s" % (repofile), d)
@@ -188,7 +188,7 @@ class Git(Fetch):
os.chdir(coprefix)
runfetchcmd("%s checkout -q -f %s%s" % (ud.basecmd, ud.tag, readpathspec), d)
else:
- bb.mkdirhier(codir)
+ bb.utils.mkdirhier(codir)
os.chdir(ud.clonedir)
runfetchcmd("%s read-tree %s%s" % (ud.basecmd, ud.tag, readpathspec), d)
runfetchcmd("%s checkout-index -q -f --prefix=%s -a" % (ud.basecmd, coprefix), d)