mirror of
https://github.com/sbopkg/sbopkg
synced 2024-11-10 12:00: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"
|
echo "OK"
|
||||||
else
|
else
|
||||||
echo "MD5SUM check failed."
|
echo "MD5SUM check failed."
|
||||||
|
echo "Expected: $MD5SUM"
|
||||||
|
echo "Found: $MD5CHK"
|
||||||
echo "$PKG:" >> $SUMMARYLOG
|
echo "$PKG:" >> $SUMMARYLOG
|
||||||
echo "MD5SUM check failed." >> $SUMMARYLOG
|
echo "MD5SUM check failed." >> $SUMMARYLOG
|
||||||
|
echo "Expected: $MD5SUM" >> $SUMMARYLOG
|
||||||
|
echo "Found: $MD5CHK" >> $SUMMARYLOG
|
||||||
echo >> $SUMMARYLOG
|
echo >> $SUMMARYLOG
|
||||||
checksum_fail $SRCNAME
|
checksum_fail $SRCNAME
|
||||||
rm $SRCNAME
|
rm $SRCNAME
|
||||||
|
Loading…
Reference in New Issue
Block a user