summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 66a77a8376..5573f0a81e 100644
--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -245,7 +245,7 @@ class Git(FetchMethod):
245 subdir = ud.parm.get("subpath", "") 245 subdir = ud.parm.get("subpath", "")
246 if subdir != "": 246 if subdir != "":
247 readpathspec = ":%s" % (subdir) 247 readpathspec = ":%s" % (subdir)
248 def_destsuffix = "%s/" % os.path.basename(subdir) 248 def_destsuffix = "%s/" % os.path.basename(subdir.rstrip('/'))
249 else: 249 else:
250 readpathspec = "" 250 readpathspec = ""
251 def_destsuffix = "git/" 251 def_destsuffix = "git/"