summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-01-07 13:08:47 +0000
committerCarl Hetherington <cth@carlh.net>2014-01-07 13:08:47 +0000
commita85777741b2574c396d8a2531355aeea22e6e130 (patch)
treedb0bda0d955fc6fe285c374347ccde136543578c
parent8ad737a7b1102a37c7bf7d223bcb5c7716b5e719 (diff)
Just pass options into build always.
-rwxr-xr-xcdist5
1 files changed, 1 insertions, 4 deletions
diff --git a/cdist b/cdist
index 253ed7c..15b5a81 100755
--- a/cdist
+++ b/cdist
@@ -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)