From bbb1fb5c873ee6717f2e5228f72a9b31b88ebcd8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 26 Feb 2014 22:51:10 +0000 Subject: Preserve self.variables around builds. --- cdist | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cdist b/cdist index 8143e08..5088038 100755 --- a/cdist +++ b/cdist @@ -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) -- cgit v1.2.3