xbps-src: if checksum fails, print out its hash too.

This commit is contained in:
Juan RP 2011-06-24 23:22:59 +02:00
parent bf67e0a891
commit 5efd8cdd4d

View file

@ -38,7 +38,7 @@ verify_sha256_cksum()
filesum=$(${XBPS_DIGEST_CMD} $XBPS_SRCDISTDIR/$file)
if [ "$origsum" != "$filesum" ]; then
echo
msg_error "SHA256 mismatch for '$file'!\n"
msg_error "SHA256 mismatch for '$file: $filesum'\n"
fi
msg_normal_append "OK.\n"
}