diff options
author | Christopher Larson <chris_larson@mentor.com> | 2013-06-10 13:46:39 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-11 15:48:50 +0100 |
commit | 1f30d2eb2ef45550c71969c735275db1448b6ac6 (patch) | |
tree | e1f5f0cb76b881749c073ce4cc7c06e4c8366c76 /meta/classes/copyleft_compliance.bbclass | |
parent | b35411d0ed069d135c3052ae457a488503636221 (diff) | |
download | openembedded-core-1f30d2eb2ef45550c71969c735275db1448b6ac6.tar.gz openembedded-core-1f30d2eb2ef45550c71969c735275db1448b6ac6.tar.bz2 openembedded-core-1f30d2eb2ef45550c71969c735275db1448b6ac6.zip |
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.bbclass | 2 |
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 () { 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) |