Commit b741770c authored by Seblu's avatar Seblu
Browse files

Fix build log ordering

Build and commit command/duration was printed at the end of the log instead
of the time they are available
parent c49e05f1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -180,6 +180,7 @@ def build(config, localpkg, aurpkg):
			info("Starting build command")
			debug(config["build_cmd"])
			fd.write("Build command: %s\n" % config["build_cmd"])
			fd.flush()
			start_time = time()
			try:
				check_call(config["build_cmd"], stdin=DEVNULL, stdout=fd,
@@ -196,6 +197,7 @@ def build(config, localpkg, aurpkg):
				info("Starting commit command")
				debug(config["commit_cmd"])
				fd.write("Commit command: %s\n" % config["commit_cmd"])
				fd.flush()
				start_time = time()
				try:
					check_call(config["commit_cmd"], stdin=DEVNULL, stdout=fd,