diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-02-26 22:51:10 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-02-26 22:51:10 +0000 |
| commit | bbb1fb5c873ee6717f2e5228f72a9b31b88ebcd8 (patch) | |
| tree | 86f88ab1a38b401bdda928934af1bf7c7439d6bb | |
| parent | 7ee79434d29cb35db8a8c3e69f107a935538f919 (diff) | |
Preserve self.variables around builds.
| -rwxr-xr-x | cdist | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -214,7 +214,9 @@ class Target(object): os.chdir(cwd) def build(self, project, options=None): + variables = self.variables project.cscript['build'](self, options) + self.variables = variables def package(self, project): project.checkout(self) |
