diff options
| -rw-r--r-- | cscript | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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') |
