From 5efd8cdd4d3beeb40b13cdd6e10dd1517e9b9917 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 24 Jun 2011 23:22:59 +0200 Subject: [PATCH] xbps-src: if checksum fails, print out its hash too. --- xbps-src/shutils/fetch_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src/shutils/fetch_funcs.sh b/xbps-src/shutils/fetch_funcs.sh index 1f2941a0cfb..eec5e4d87af 100644 --- a/xbps-src/shutils/fetch_funcs.sh +++ b/xbps-src/shutils/fetch_funcs.sh @@ -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" }