summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch/git.py')
-rw-r--r--bitbake/lib/bb/fetch/git.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch/git.py b/bitbake/lib/bb/fetch/git.py
index 79ca1a2663..3016f0f00d 100644
--- a/bitbake/lib/bb/fetch/git.py
+++ b/bitbake/lib/bb/fetch/git.py
@@ -77,13 +77,13 @@ class Git(Fetch):
77 else: 77 else:
78 username = "" 78 username = ""
79 79
80 repofile = os.path.join(data.getVar("DL_DIR", d, 1), ud.mirrortarbal) 80 repofile = os.path.join(data.getVar("DL_DIR", d, 1), ud.mirrortarball)
81 81
82 coname = '%s' % (ud.tag) 82 coname = '%s' % (ud.tag)
83 codir = os.path.join(ud.clonedir, coname) 83 codir = os.path.join(ud.clonedir, coname)
84 84
85 if not os.path.exists(ud.clonedir): 85 if not os.path.exists(ud.clonedir):
86 if Fetch.try_mirror(d, ud.mirrortarbal): 86 if Fetch.try_mirror(d, ud.mirrortarball):
87 bb.mkdirhier(ud.clonedir) 87 bb.mkdirhier(ud.clonedir)
88 os.chdir(ud.clonedir) 88 os.chdir(ud.clonedir)
89 runfetchcmd("tar -xzf %s" % (repofile), d) 89 runfetchcmd("tar -xzf %s" % (repofile), d)