Install reports under "share" directory

This is normally the place for architecture-independent (shared) data.
This commit is contained in:
Sebastian Huber 2013-03-22 14:28:01 +01:00 committed by Chris Johns
parent aabe4e792f
commit 1e1ea1e1a2

View File

@ -113,7 +113,7 @@ class buildset:
buildroot = _build.config.abspath('%{buildroot}')
prefix = self.opts.expand('%{_prefix}', self.defaults)
name = _build.main_package().name() + ext
outpath = path.host(path.join(buildroot, prefix, 'rtems-source-builder'))
outpath = path.host(path.join(buildroot, prefix, 'share', 'rtems-source-builder'))
outname = path.host(path.join(outpath, name))
_notice(self.opts, 'reporting: %s -> %s' % (_config, name))
if not self.opts.dry_run():