From 29f87014024ef2230e588169582247e063279c70 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 10 Jun 2013 13:46:39 -0700 Subject: copyleft_compliance: handle localpaths ending with '/' (From OE-Core rev: 1f30d2eb2ef45550c71969c735275db1448b6ac6) Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- meta/classes/copyleft_compliance.bbclass | 2 ++ 1 file changed, 2 insertions(+) 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 () { 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) -- cgit v1.2.3-54-g00ecf