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,6 +147,7 @@ class buildset:
|
|||||||
(os.path.relpath(path.host(src)), os.path.relpath(path.host(dst)))
|
(os.path.relpath(path.host(src)), os.path.relpath(path.host(dst)))
|
||||||
if self.opts.trace():
|
if self.opts.trace():
|
||||||
_notice(self.opts, 'collecting: %s' % (what))
|
_notice(self.opts, 'collecting: %s' % (what))
|
||||||
|
if not self.opts.dry_run():
|
||||||
self.copy(src, dst)
|
self.copy(src, dst)
|
||||||
if not self.opts.get_arg('--no-install'):
|
if not self.opts.get_arg('--no-install'):
|
||||||
dst = _build.config.expand('%{_prefix}')
|
dst = _build.config.expand('%{_prefix}')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user