Skip to content
Snippets Groups Projects
Unverified Commit ceac2176 authored by Oliver Smith's avatar Oliver Smith
Browse files

check_checksums.py: Non-zero exit on build error

Fixes #1124.
parent 42fadee5
No related branches found
No related tags found
No related merge requests found
......@@ -68,10 +68,9 @@ def check_build(packages):
commands = [["build_init"],
["--details-to-stdout", "build", "--strict"] + list(packages)]
for command in commands:
try:
process = subprocess.Popen(["./pmbootstrap.py"] + command)
process.communicate()
except subprocess.CalledProcessError as e:
process = subprocess.Popen(["./pmbootstrap.py"] + command)
process.communicate()
if process.returncode != 0:
print("** Building failed")
exit(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment