Use the expected hash value for the update info.

This commit is contained in:
cltbld 2005-06-22 02:43:28 +00:00
Родитель dd6e74ee37
Коммит d69d7c8bd7
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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);