Skip to content
Snippets Groups Projects
Commit f69687f2 authored by Ridwan Amode's avatar Ridwan Amode
Browse files

Do not gzip checksum

parent 0c98601e
No related branches found
No related tags found
2 merge requests!103Do not gzip checksum,!103Do not gzip checksum
......@@ -361,10 +361,10 @@ sub checksum {
my @files = sort { $a cmp $b } readdir($dh);
closedir($dh) or die "Cannot close directory $dir";
my $checksum = $self->file('CHECKSUMS.gz');
my $checksum = $self->file('CHECKSUMS');
unlink $checksum if -f $checksum;
my $fh = IO::Compress::Gzip->new($checksum) or croak "Cannot create gzip stream to $checksum: $GzipError";
open my $fh, '<', $checksum or croak "Cannot open filehandle to $checksum: $!";
foreach my $file (@files) {
next if $file =~ /^\./; #hidden file or up/current dir
next if $file =~ /^CHECKSUM/;
......
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