aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcheckem3
1 files changed, 2 insertions, 1 deletions
diff --git a/checkem b/checkem
index 84b356b..e05d3bb 100755
--- a/checkem
+++ b/checkem
@@ -110,7 +110,8 @@ SIZE: for my $fs ( grep { @{$_} > 1 } values %sizes ) {
if ( open my $fh, '<', $f->{name} ) {
binmode $fh;
$dig->addfile($fh);
- push @{ $sums{ $dig->digest() } }, $f;
+ $f->{hexdigest} = $dig->hexdigest();
+ push @{ $sums{ $f->{hexdigest} } }, $f;
close $fh
or carp 'Failed to close file';
}