From: Christopher Larson Date: Mon, 10 Jun 2013 20:46:39 +0000 (-0700) Subject: copyleft_compliance: handle localpaths ending with '/' X-Git-Tag: 2015-4~6234 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=1f30d2eb2ef45550c71969c735275db1448b6ac6;p=openembedded-core.git copyleft_compliance: handle localpaths ending with '/' Signed-off-by: Christopher Larson Signed-off-by: Richard Purdie --- 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)