[OE-core] [PATCH 1/2] copyleft_compliance: handle localpaths ending with '/'
Christopher Larson
kergoth at gmail.com
Mon Jun 10 20:46:39 UTC 2013
From: Christopher Larson <chris_larson at mentor.com>
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
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 06b0227..adb48be 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)
--
1.8.3
More information about the Openembedded-core
mailing list