diff options
Diffstat (limited to 'meta/classes/src_distribute.bbclass')
-rw-r--r-- | meta/classes/src_distribute.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/src_distribute.bbclass b/meta/classes/src_distribute.bbclass index 2069d652a3..651e492598 100644 --- a/meta/classes/src_distribute.bbclass +++ b/meta/classes/src_distribute.bbclass | |||
@@ -29,13 +29,13 @@ python do_distribute_sources () { | |||
29 | if url.basename == '*': | 29 | if url.basename == '*': |
30 | import os.path | 30 | import os.path |
31 | dest_dir = os.path.basename(os.path.dirname(os.path.abspath(url.localpath))) | 31 | dest_dir = os.path.basename(os.path.dirname(os.path.abspath(url.localpath))) |
32 | bb.data.setVar('DEST', "%s_%s/" % (d.getVar('PF', 1), dest_dir), d) | 32 | d.setVar('DEST', "%s_%s/" % (d.getVar('PF', 1), dest_dir)) |
33 | else: | 33 | else: |
34 | bb.data.setVar('DEST', "%s_%s" % (d.getVar('PF', 1), url.basename), d) | 34 | d.setVar('DEST', "%s_%s" % (d.getVar('PF', 1), url.basename)) |
35 | else: | 35 | else: |
36 | d.setVar('DEST', '') | 36 | d.setVar('DEST', '') |
37 | 37 | ||
38 | bb.data.setVar('SRC_DISTRIBUTEDIR', "%s/%s" % (sources_dir, license), d) | 38 | d.setVar('SRC_DISTRIBUTEDIR', "%s/%s" % (sources_dir, license)) |
39 | bb.build.exec_func('SRC_DISTRIBUTECOMMAND', d) | 39 | bb.build.exec_func('SRC_DISTRIBUTECOMMAND', d) |
40 | } | 40 | } |
41 | 41 | ||