summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/copyleft_compliance.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/copyleft_compliance.bbclass b/meta/classes/copyleft_compliance.bbclass
index 06b02278d3..adb48bed3b 100644
--- a/meta/classes/copyleft_compliance.bbclass
+++ b/meta/classes/copyleft_compliance.bbclass
@@ -39,6 +39,8 @@ python do_prepare_copyleft_sources () {
39 local = os.path.normpath(fetch.localpath(u.url)) 39 local = os.path.normpath(fetch.localpath(u.url))
40 if local.endswith('.bb'): 40 if local.endswith('.bb'):
41 continue 41 continue
42 elif local.endswith('/'):
43 local = local[:-1]
42 44
43 if u.mirrortarball: 45 if u.mirrortarball:
44 tarball_path = os.path.join(dl_dir, u.mirrortarball) 46 tarball_path = os.path.join(dl_dir, u.mirrortarball)