mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Use the expected hash value for the update info.
This commit is contained in:
parent
81790bb55c
commit
67d840fe93
@ -419,9 +419,9 @@ sub update_create_stats {
|
||||
$hashvalue;
|
||||
|
||||
if ($hashfunction eq "sha1") {
|
||||
$hashvalue = `md5sum $update`;
|
||||
} else {
|
||||
$hashvalue = `sha1sum $update`;
|
||||
} else {
|
||||
$hashvalue = `md5sum $update`;
|
||||
}
|
||||
chomp($hashvalue);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user