From a4129317c46490dabaa9903f7c5ded9550285788 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 25 Jun 2014 23:09:37 +0100 Subject: More build fixes. --- cscript | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cscript') 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') -- cgit v1.2.3