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 2069d652a..651e49259 100644 --- a/meta/classes/src_distribute.bbclass +++ b/meta/classes/src_distribute.bbclass @@ -29,13 +29,13 @@ python do_distribute_sources () { if url.basename == '*': import os.path dest_dir = os.path.basename(os.path.dirname(os.path.abspath(url.localpath))) - bb.data.setVar('DEST', "%s_%s/" % (d.getVar('PF', 1), dest_dir), d) + d.setVar('DEST', "%s_%s/" % (d.getVar('PF', 1), dest_dir)) else: - bb.data.setVar('DEST', "%s_%s" % (d.getVar('PF', 1), url.basename), d) + d.setVar('DEST', "%s_%s" % (d.getVar('PF', 1), url.basename)) else: d.setVar('DEST', '') - bb.data.setVar('SRC_DISTRIBUTEDIR', "%s/%s" % (sources_dir, license), d) + d.setVar('SRC_DISTRIBUTEDIR', "%s/%s" % (sources_dir, license)) bb.build.exec_func('SRC_DISTRIBUTECOMMAND', d) } |