Skip to content
Snippets Groups Projects
Commit 01afc9d0 authored by Andy Yates's avatar Andy Yates
Browse files

Need to chomp the checksum output and we missed out on a sum call

parent eb8d0ebf
No related branches found
No related tags found
No related merge requests found
......@@ -336,7 +336,8 @@ sub checksum {
my $path = File::Spec->catfile($dir, $file);
my $sum = `sum $path`;
$sum =~ s/\s* $path//xms;
print $fh "${sum}\t${file}";
chomp($sum);
print $fh "${sum}\t${file}\n";
}
$fh->close();
$self->permissions($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