mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Do not copy on a dry run.
This commit is contained in:
parent
0606a65718
commit
5e883dbc6f
@ -147,7 +147,8 @@ class buildset:
|
||||
(os.path.relpath(path.host(src)), os.path.relpath(path.host(dst)))
|
||||
if self.opts.trace():
|
||||
_notice(self.opts, 'collecting: %s' % (what))
|
||||
self.copy(src, dst)
|
||||
if not self.opts.dry_run():
|
||||
self.copy(src, dst)
|
||||
if not self.opts.get_arg('--no-install'):
|
||||
dst = _build.config.expand('%{_prefix}')
|
||||
src = path.join(src, dst)
|
||||
|
Loading…
x
Reference in New Issue
Block a user