summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcdist2
1 files changed, 2 insertions, 0 deletions
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)