From 20458de7524a126c7cebeffa5d804d389e5a912a Mon Sep 17 00:00:00 2001 From: DrChat Date: Fri, 9 Sep 2016 18:54:28 -0500 Subject: [PATCH] Don't discard stdout when running premake (hiding important errors) --- xenia-build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/xenia-build b/xenia-build index a105add70..e479fc474 100755 --- a/xenia-build +++ b/xenia-build @@ -315,7 +315,7 @@ def run_premake(target_os, action): target_os: target --os to pass to premake. action: action to preform. """ - shell_call([ + ret = subprocess.call([ 'python', os.path.join('tools', 'build', 'premake'), '--file=premake5.lua', @@ -324,8 +324,10 @@ def run_premake(target_os, action): '--test-suite-mode=combined', '--verbose', action, - ]) - generate_version_h() + ], shell=False) + + if ret == 0: + generate_version_h() def run_premake_clean():