add workaround for freebsd
SVN-Revision: 5017
This commit is contained in:
parent
481ba6b43d
commit
607b012c34
1 changed files with 2 additions and 1 deletions
|
@ -43,9 +43,10 @@ sub download
|
||||||
cleanup();
|
cleanup();
|
||||||
return;
|
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;
|
$sum = $1;
|
||||||
|
|
||||||
if (($md5sum =~ /\w{32}/) and ($sum ne $md5sum)) {
|
if (($md5sum =~ /\w{32}/) and ($sum ne $md5sum)) {
|
||||||
|
|
Loading…
Reference in a new issue