projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e90b41
)
show md5sums on mismatch in download.pl
author
Felix Fietkau
<nbd@openwrt.org>
Sat, 20 Oct 2007 15:30:16 +0000
(15:30 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Sat, 20 Oct 2007 15:30:16 +0000
(15:30 +0000)
SVN-Revision: 9367
scripts/download.pl
patch
|
blob
|
history
diff --git
a/scripts/download.pl
b/scripts/download.pl
index 161ae7f64b992aa6e1e50374214dccbe0638ec83..806ee804581012690b74803288f65debfb4de9a8 100755
(executable)
--- 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;
}