summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/fetch2/git.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index c7ed1f0368..27a0d05144 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -462,8 +462,8 @@ class Git(FetchMethod):
462 # Only do this if the unpack resulted in a .git/lfs directory being 462 # Only do this if the unpack resulted in a .git/lfs directory being
463 # created; this only happens if at least one blob needed to be 463 # created; this only happens if at least one blob needed to be
464 # downloaded. 464 # downloaded.
465 if os.path.exists(os.path.join(tmpdir, "git", ".git", "lfs")): 465 if os.path.exists(os.path.join(ud.destdir, ".git", "lfs")):
466 runfetchcmd("tar -cf - lfs | tar -xf - -C %s" % ud.clonedir, d, workdir="%s/git/.git" % tmpdir) 466 runfetchcmd("tar -cf - lfs | tar -xf - -C %s" % ud.clonedir, d, workdir="%s/.git" % ud.destdir)
467 467
468 def build_mirror_data(self, ud, d): 468 def build_mirror_data(self, ud, d):
469 469