Changeset dab4a9b in rtems-source-builder


Ignore:
Timestamp:
Feb 24, 2013, 7:15:12 AM (9 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
d5fa35c
Parents:
27e5a7e
Message:

Check the dry-opt option before doing the install.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source-builder/sb/setbuilder.py

    r27e5a7e rdab4a9b  
    123123            src = path.join(src, dst)
    124124            _notice(self.opts, 'installing: %s -> %s' % \
    125                         (self.bset_pkg, os.path.relpath(path.host(dst))))
    126             self.copy(src, dst)
     125                        (self.bset_pkg, path.host(dst)))
     126            if not self.opts.dry_run():
     127                self.copy(src, dst)
    127128
    128129    def last_package(self, _build, tmproot):
Note: See TracChangeset for help on using the changeset viewer.