diff options
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
| -rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 2550bde838..01d4bbdc2e 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
| @@ -205,8 +205,9 @@ class Git(FetchMethod): | |||
| 205 | if ud.rebaseable: | 205 | if ud.rebaseable: |
| 206 | for name in ud.names: | 206 | for name in ud.names: |
| 207 | gitsrcname = gitsrcname + '_' + ud.revisions[name] | 207 | gitsrcname = gitsrcname + '_' + ud.revisions[name] |
| 208 | ud.mirrortarball = 'git2_%s.tar.gz' % gitsrcname | 208 | mirrortarball = 'git2_%s.tar.gz' % gitsrcname |
| 209 | ud.fullmirror = os.path.join(d.getVar("DL_DIR"), ud.mirrortarball) | 209 | ud.fullmirror = os.path.join(d.getVar("DL_DIR"), mirrortarball) |
| 210 | ud.mirrortarballs = [mirrortarball] | ||
| 210 | gitdir = d.getVar("GITDIR") or (d.getVar("DL_DIR") + "/git2/") | 211 | gitdir = d.getVar("GITDIR") or (d.getVar("DL_DIR") + "/git2/") |
| 211 | ud.clonedir = os.path.join(gitdir, gitsrcname) | 212 | ud.clonedir = os.path.join(gitdir, gitsrcname) |
| 212 | 213 | ||
