Skip to content
Snippets Groups Projects
Commit e04797f9 authored by Pablo Castellano's avatar Pablo Castellano Committed by Martijn Braam
Browse files

Print "git diff" output when the checksums tests has failed (#306)

In some cases this output is useful to identify the root of the problem.
See https://github.com/postmarketOS/pmbootstrap/pull/303#issuecomment-319017197
parent fe385cad
Branches
Tags
No related merge requests found
......@@ -46,6 +46,8 @@ def check_checksums(package):
if result == "":
print("** The checksums are correct")
else:
print(result)
result = check_output_always(['git', 'diff']).decode()
print(result)
print("** The checksums are not correct")
exit(1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment