From b43677d43520c009a6c8343c18948bc01e39689b Mon Sep 17 00:00:00 2001 From: Andrew Zigerelli Date: Mon, 9 Mar 2020 18:47:36 -0400 Subject: [PATCH] Make '' the default arg for --extra-config-args (instead of None) or else ./build-qemu hangs because shlex.split(None) waits for stdin https://docs.python.org/3/library/shlex.html --- build-qemu | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build-qemu b/build-qemu index 054a052..de70cb6 100755 --- a/build-qemu +++ b/build-qemu @@ -9,7 +9,13 @@ class Main(common.BuildCliFunction): def __init__(self): super().__init__() self._add_argument('--configure') - self.add_argument('--extra-config-args') + self.add_argument( + '--extra-config-args', + default='', + help='''\ +Extra arguments to pass to configure +''' + ) self._add_argument('extra_make_args') def build(self):