summaryrefslogtreecommitdiff
path: root/scripts
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
commit9bfa0d1d08293645fee8a0d4a733ad501ddd308d (patch)
tree5f20ad1d5216f6904edf70aff55f5456d96d3694 /scripts
parent67eaa9814de984588eb68b5b6a7af7e9ecb4d652 (diff)
downloadmtk-20170518-9bfa0d1d08293645fee8a0d4a733ad501ddd308d.zip
mtk-20170518-9bfa0d1d08293645fee8a0d4a733ad501ddd308d.tar.gz
mtk-20170518-9bfa0d1d08293645fee8a0d4a733ad501ddd308d.tar.bz2
show md5sums on mismatch in download.pl
SVN-Revision: 9367
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/download.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/download.pl b/scripts/download.pl
index 161ae7f..806ee80 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;
}