aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-10-20 15:30:16 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-10-20 15:30:16 +0000
commit6d6bd1779f4846755187dc46499e747ddc1534a3 (patch)
tree441d5cfe35641f3c537cdbead56156d7a476bd39
parent9ab23005108d9dd32438581150e21076129c0180 (diff)
downloadupstream-6d6bd1779f4846755187dc46499e747ddc1534a3.tar.gz
upstream-6d6bd1779f4846755187dc46499e747ddc1534a3.tar.bz2
upstream-6d6bd1779f4846755187dc46499e747ddc1534a3.zip
show md5sums on mismatch in download.pl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9367 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xscripts/download.pl2
1 files changed, 1 insertions, 1 deletions
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;
}