From: Sam Hartman Date: Tue, 16 Nov 2010 18:03:12 +0000 (-0500) Subject: Include -- for schroot configure X-Git-Tag: vm/20110310~72^2~5 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=1fe5989217e61dbde51badf99a24c75d7f5455cb;hp=79a20c50015feb249a164c0b5aaf120e14f64e21;p=moonshot.git Include -- for schroot configure --- diff --git a/builder b/builder index 8c41b82..89e328a 100755 --- a/builder +++ b/builder @@ -69,8 +69,11 @@ def command_output(args) : def build(package): with current_directory(package): run_cmd(('autoreconf', '-i', '-f')) - configure_command = ' '.join([schroot_command, + configure_command = ' '.join([ './configure'] + configure_opts) + if len(schroot_command) > 0: + configure_command = schroot_command + " -- " \ + + configure_command print configure_command sys.stdout.flush() run_cmd(configure_command, shell=True)