aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/copyleft_compliance.bbclass
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2013-06-10 13:46:39 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-11 15:48:50 +0100
commit1f30d2eb2ef45550c71969c735275db1448b6ac6 (patch)
treee1f5f0cb76b881749c073ce4cc7c06e4c8366c76 /meta/classes/copyleft_compliance.bbclass
parentb35411d0ed069d135c3052ae457a488503636221 (diff)
downloadopenembedded-core-contrib-1f30d2eb2ef45550c71969c735275db1448b6ac6.tar.gz
copyleft_compliance: handle localpaths ending with '/'
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/copyleft_compliance.bbclass')
-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 06b02278d3a..adb48bed3b1 100644
--- a/meta/classes/copyleft_compliance.bbclass
+++ b/meta/classes/copyleft_compliance.bbclass
@@ -39,6 +39,8 @@ python do_prepare_copyleft_sources () {
local = os.path.normpath(fetch.localpath(u.url))
if local.endswith('.bb'):
continue
+ elif local.endswith('/'):
+ local = local[:-1]
if u.mirrortarball:
tarball_path = os.path.join(dl_dir, u.mirrortarball)