diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/fetch2/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py index 63c433a4aa..f13a25f99d 100644 --- a/bitbake/lib/bb/fetch2/git.py +++ b/bitbake/lib/bb/fetch2/git.py | |||
@@ -476,7 +476,7 @@ class Git(FetchMethod): | |||
476 | if os.path.exists(destdir): | 476 | if os.path.exists(destdir): |
477 | bb.utils.prunedir(destdir) | 477 | bb.utils.prunedir(destdir) |
478 | 478 | ||
479 | if ud.shallow and os.path.exists(ud.fullshallow) and self.need_update(ud, d): | 479 | if ud.shallow and os.path.exists(ud.fullshallow) and self.clonedir_need_update(ud, d): |
480 | bb.utils.mkdirhier(destdir) | 480 | bb.utils.mkdirhier(destdir) |
481 | runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=destdir) | 481 | runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=destdir) |
482 | else: | 482 | else: |