diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-03-21 00:54:40 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2019-03-21 00:55:26 +0530 |
commit | b9e20664b697b2afaa3dd3b68492bb46ff60fbd0 (patch) | |
tree | 065304c8d74b4b9a2e2f220a452c4d5fc0724d08 | |
parent | b5df9d301728bbd33d84516d32f4288638bcbd86 (diff) |
ninja.recipe: Use shell.new_call() to output to logfile
subprocess.call() outputs to stdout, and that doesn't get
redirected to the log file, which is unnecessarily verbose.
-rw-r--r-- | recipes/build-tools/ninja.recipe | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes/build-tools/ninja.recipe b/recipes/build-tools/ninja.recipe index 42c509b1..7bbddbb0 100644 --- a/recipes/build-tools/ninja.recipe +++ b/recipes/build-tools/ninja.recipe @@ -14,7 +14,8 @@ class Recipe(recipe.Recipe): files_bin = ['bin/ninja'] def configure(self): - shell.call(self.config.python_exe + ' ./configure.py --bootstrap', self.build_dir, env=self.env) + shell.new_call([self.config.python_exe, 'configure.py', '--bootstrap'], + self.build_dir, logfile=self.logfile, env=self.env) def install(self): ninja = 'ninja' |