summaryrefslogtreecommitdiffstats
path: root/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-07 10:13:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 23:37:09 +0000
commit2fd63c32aa2bb21a16a721aed0b5427a72c7c7fd (patch)
tree22935227df491d81d30185b07c6bbe627d8cbfba /lib/bb/fetch2/git.py
parent5ef9b378f5c15d1c90d443ba513703471ffd0649 (diff)
downloadbitbake-2fd63c32aa2bb21a16a721aed0b5427a72c7c7fd.tar.gz
bitbake/fetch2/git: use clonedir as ud.localfile too since the mirror tarball may not exist
(From Poky rev: 681bcf4e6b606dde2029d143805023a927285917) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/fetch2/git.py')
-rw-r--r--lib/bb/fetch2/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/fetch2/git.py b/lib/bb/fetch2/git.py
index a78e4519e..55c66cf49 100644
--- a/lib/bb/fetch2/git.py
+++ b/lib/bb/fetch2/git.py
@@ -75,7 +75,7 @@ class Git(FetchMethod):
if not ud.revisions[name] or ud.revisions[name] == "master":
ud.revisions[name] = self.latest_revision(url, ud, d, name)
- ud.localfile = ud.mirrortarball
+ ud.localfile = ud.clonedir
def localpath(self, url, ud, d):
return ud.clonedir