summaryrefslogtreecommitdiff
path: root/cscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-25 23:09:37 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-25 23:09:37 +0100
commita4129317c46490dabaa9903f7c5ded9550285788 (patch)
tree426cd7b45c3fa1d7a0a0ef5d07c0bc850b655bc8 /cscript
parent7b85b778834753912573fef7bb09d51821c0ef7c (diff)
More build fixes.
Diffstat (limited to 'cscript')
-rw-r--r--cscript5
1 files changed, 2 insertions, 3 deletions
diff --git a/cscript b/cscript
index f699e8089..fd8d36d1e 100644
--- a/cscript
+++ b/cscript
@@ -166,12 +166,11 @@ def build(target, options):
elif target.platform == 'linux':
if target.distro == 'debian' or target.distro == 'ubuntu':
cmd += ' --target-debian'
+ if target.version == 'unstable':
+ cmd += ' --debian-unstable'
elif target.distro == 'centos':
cmd += ' --target-centos'
- if target.distro == 'debian' and target.version == 'unstable':
- cmd += ' --debian-unstable'
-
target.command(cmd)
target.command('./waf')