From: Felix Fietkau Date: Sat, 20 Oct 2007 15:30:16 +0000 (+0000) Subject: show md5sums on mismatch in download.pl X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9bfa0d1d08293645fee8a0d4a733ad501ddd308d;p=openwrt%2Fstaging%2Fkaloz.git show md5sums on mismatch in download.pl SVN-Revision: 9367 --- diff --git a/scripts/download.pl b/scripts/download.pl index 161ae7f64b..806ee80458 100755 --- a/scripts/download.pl +++ b/scripts/download.pl @@ -86,7 +86,7 @@ sub download $sum = $1; if (($md5sum =~ /\w{32}/) and ($sum ne $md5sum)) { - print STDERR "MD5 sum of the downloaded file does not match - deleting download.\n"; + print STDERR "MD5 sum of the downloaded file does not match (file: $sum, requested: $md5sum) - deleting download.\n"; cleanup(); return; }