projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ad737a
)
Just pass options into build always.
author
Carl Hetherington
<cth@carlh.net>
Tue, 7 Jan 2014 13:08:47 +0000
(13:08 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 7 Jan 2014 13:08:47 +0000
(13:08 +0000)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index 253ed7cd09bda6d677795dbf97b06fc781365243..15b5a817deff6ee63fc9214235b94ab8b7d3bc2e 100755
(executable)
--- 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)