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 44fc27193e..0fd9beee19 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -246,7 +246,7 @@ class Git(FetchMethod):
246 subdir = ud.parm.get("subpath", "") 246 subdir = ud.parm.get("subpath", "")
247 if subdir != "": 247 if subdir != "":
248 readpathspec = ":%s" % (subdir) 248 readpathspec = ":%s" % (subdir)
249 def_destsuffix = "%s/" % os.path.basename(subdir) 249 def_destsuffix = "%s/" % os.path.basename(subdir.rstrip('/'))
250 else: 250 else:
251 readpathspec = "" 251 readpathspec = ""
252 def_destsuffix = "git/" 252 def_destsuffix = "git/"