From: nbd Date: Sat, 20 Oct 2007 15:30:16 +0000 (+0000) Subject: show md5sums on mismatch in download.pl X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=052222fc5f21d013a5524a6fc8f04442bcfafed4;hp=9b1dd0934cf12875b585035ccd9c51a23bb7587b show md5sums on mismatch in download.pl git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9367 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/scripts/download.pl b/scripts/download.pl index 161ae7f64..806ee8045 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; }