forked from Mirror/pmbootstrap
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
This commit is contained in:
parent
fe385cad6d
commit
e04797f93c
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@ def check_checksums(package):
|
||||||
if result == "":
|
if result == "":
|
||||||
print("** The checksums are correct")
|
print("** The checksums are correct")
|
||||||
else:
|
else:
|
||||||
|
print(result)
|
||||||
|
result = check_output_always(['git', 'diff']).decode()
|
||||||
print(result)
|
print(result)
|
||||||
print("** The checksums are not correct")
|
print("** The checksums are not correct")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue