xbps-src: if checksum fails, print out its hash too.
This commit is contained in:
@@ -38,7 +38,7 @@ verify_sha256_cksum()
|
|||||||
filesum=$(${XBPS_DIGEST_CMD} $XBPS_SRCDISTDIR/$file)
|
filesum=$(${XBPS_DIGEST_CMD} $XBPS_SRCDISTDIR/$file)
|
||||||
if [ "$origsum" != "$filesum" ]; then
|
if [ "$origsum" != "$filesum" ]; then
|
||||||
echo
|
echo
|
||||||
msg_error "SHA256 mismatch for '$file'!\n"
|
msg_error "SHA256 mismatch for '$file: $filesum'\n"
|
||||||
fi
|
fi
|
||||||
msg_normal_append "OK.\n"
|
msg_normal_append "OK.\n"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user