From 463e8bd1526b5cd64fd8dc491df0cf1cf8d00d7e Mon Sep 17 00:00:00 2001 From: Marc Herbert Date: Fri, 12 May 2023 03:18:29 +0000 Subject: [PATCH] xtensa-build-zephyr.py: add a new line after logging the environment In some cases it was difficult to separate the command's output from the extra environment it ran in. Signed-off-by: Marc Herbert --- scripts/xtensa-build-zephyr.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/xtensa-build-zephyr.py b/scripts/xtensa-build-zephyr.py index 9fa602172..4cde2648d 100755 --- a/scripts/xtensa-build-zephyr.py +++ b/scripts/xtensa-build-zephyr.py @@ -277,9 +277,9 @@ def execute_command(*run_args, **run_kwargs): env_arg = run_kwargs.get('env') env_change = set(env_arg.items()) - set(os.environ.items()) if env_arg else None if env_change and (run_kwargs.get('sof_log_env') or args.verbose >= 1): - output += "\n... with extra/modified environment:" + output += "\n... with extra/modified environment:\n" for k_v in env_change: - output += f"\n{k_v[0]}={k_v[1]}" + output += f"{k_v[0]}={k_v[1]}\n" print(output, flush=True) run_kwargs = {k: run_kwargs[k] for k in run_kwargs if not k.startswith("sof_")}