projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
481ba6b
)
add workaround for freebsd
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 10 Oct 2006 16:08:25 +0000
(16:08 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 10 Oct 2006 16:08:25 +0000
(16:08 +0000)
SVN-Revision: 5017
openwrt/scripts/download.pl
patch
|
blob
|
history
diff --git
a/openwrt/scripts/download.pl
b/openwrt/scripts/download.pl
index 009ed3b689f457568260fa367d5b3992bc6ebae9..e7c7ee32e6a6beadf0227182d1afb862cbe84ab0 100755
(executable)
--- a/
openwrt/scripts/download.pl
+++ b/
openwrt/scripts/download.pl
@@
-43,9
+43,10
@@
sub download
cleanup();
return;
}
+ $? = 0;
my $sum = `cat "$target/$filename.md5sum"`;
- $sum =~ /^(\w+)\s
+
/ or die "Could not generate md5sum\n";
+ $sum =~ /^(\w+)\s
*
/ or die "Could not generate md5sum\n";
$sum = $1;
if (($md5sum =~ /\w{32}/) and ($sum ne $md5sum)) {