summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/fetch2/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/fetch2/git.py')
-rw-r--r--bitbake/lib/bb/fetch2/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/git.py b/bitbake/lib/bb/fetch2/git.py
index 55dd084abc..0af8070080 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -660,7 +660,7 @@ class Git(FetchMethod):
660 subdir = ud.parm.get("subdir") 660 subdir = ud.parm.get("subdir")
661 subpath = ud.parm.get("subpath") 661 subpath = ud.parm.get("subpath")
662 readpathspec = "" 662 readpathspec = ""
663 def_destsuffix = "git/" 663 def_destsuffix = (d.getVar("BB_GIT_DEFAULT_DESTSUFFIX") or "git") + "/"
664 664
665 if subpath: 665 if subpath:
666 readpathspec = ":%s" % subpath 666 readpathspec = ":%s" % subpath