summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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')