diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-07 13:08:47 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-07 13:08:47 +0000 |
| commit | a85777741b2574c396d8a2531355aeea22e6e130 (patch) | |
| tree | db0bda0d955fc6fe285c374347ccde136543578c | |
| parent | 8ad737a7b1102a37c7bf7d223bcb5c7716b5e719 (diff) | |
Just pass options into build always.
| -rwxr-xr-x | cdist | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -234,10 +234,7 @@ class Target(object): os.chdir(cwd) def build(self, project, options=None): - if options is not None: - project.cscript['build'](self, options) - else: - project.cscript['build'](self) + project.cscript['build'](self, options) def package(self, project): project.checkout(self) |
