mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 03:50:33 +03:00
Print MD5 sums on failures
Print the obtained and expected MD5 sums on mismatch. Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
This commit is contained in:
parent
157991f117
commit
7a23a7cf8c
@ -1623,8 +1623,12 @@ build_package () {
|
||||
echo "OK"
|
||||
else
|
||||
echo "MD5SUM check failed."
|
||||
echo "Expected: $MD5SUM"
|
||||
echo "Found: $MD5CHK"
|
||||
echo "$PKG:" >> $SUMMARYLOG
|
||||
echo "MD5SUM check failed." >> $SUMMARYLOG
|
||||
echo "Expected: $MD5SUM" >> $SUMMARYLOG
|
||||
echo "Found: $MD5CHK" >> $SUMMARYLOG
|
||||
echo >> $SUMMARYLOG
|
||||
checksum_fail $SRCNAME
|
||||
rm $SRCNAME
|
||||
|
Loading…
Reference in New Issue
Block a user