From 8e73d25f1cc4f304e8afae6f87d16b986378b1b3 Mon Sep 17 00:00:00 2001 From: 3djc Date: Sun, 29 Jan 2017 09:41:08 +0100 Subject: [PATCH] Add more logs to firmware build --- radio/util/build-firmware.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/util/build-firmware.py b/radio/util/build-firmware.py index 4597be510..6a52bf15c 100755 --- a/radio/util/build-firmware.py +++ b/radio/util/build-firmware.py @@ -194,7 +194,7 @@ if not os.path.isfile(path): proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) output, error = proc.communicate() if proc.returncode == 0: - file(outpath, "a").write(output + error) + file(outpath, "a").write("\n".join(cmd) + output + error) else: file(errpath, "w").write(output + error) exit(COMPILATION_ERROR)