Skip to content
Snippets Groups Projects
Commit 04f19024 authored by Magali Ruffier's avatar Magali Ruffier
Browse files

ENSCORESW-369: checksum the checksum correctly

parent 96032700
No related branches found
No related tags found
No related merge requests found
......@@ -309,7 +309,7 @@ DSS
printf( "Download '%s'\n", $file ) if($verbose);
++$summary{$name}->{$parser};
} else {
$file_cs .= ':' . $cs;
$file_cs = md5_hex($file_cs.$cs);
if ( !defined $checksum
|| index( $checksum, $file_cs ) == -1 )
{
......@@ -376,9 +376,8 @@ DSS
}
# update AFTER processing in case of crash.
my $total_checksum = md5_hex($file_cs);
$self->update_source( $source_url_id,
$total_checksum, $files_to_parse[0] );
$file_cs, $files_to_parse[0] );
# Set release if specified
if ( defined $release ) {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment