From 681bcf4e6b606dde2029d143805023a927285917 Mon Sep 17 00:00:00 2001
From: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Mon, 7 Feb 2011 10:13:29 +0000
Subject: bitbake/fetch2/git: use clonedir as ud.localfile too since the mirror
 tarball may not exist

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 bitbake/lib/bb/fetch2/git.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'bitbake')

diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index a78e4519e..55c66cf49 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/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
-- 
cgit v1.2.3