projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add workaround for freebsd
[openwrt.git]
/
scripts
/
download.pl
diff --git
a/scripts/download.pl
b/scripts/download.pl
index
009ed3b
..
e7c7ee3
100755
(executable)
--- a/
scripts/download.pl
+++ b/
scripts/download.pl
@@
-43,9
+43,10
@@
sub download
cleanup();
return;
}
cleanup();
return;
}
+ $? = 0;
my $sum = `cat "$target/$filename.md5sum"`;
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)) {
$sum = $1;
if (($md5sum =~ /\w{32}/) and ($sum ne $md5sum)) {
This page took
0.027629 seconds
and
4
git commands to generate.