Skip to content
Snippets Groups Projects
Commit 6a32827f authored by ChuangKee Ong's avatar ChuangKee Ong
Browse files

Merge remote branch 'upstream/master'

parents c25dcd6d 26abd369
No related branches found
No related tags found
2 merge requests!104To use dbprimary_acc instead of display_id;Fix GO source duplication,!104To use dbprimary_acc instead of display_id;Fix GO source duplication
......@@ -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