Unverified Commit 6c1adab8 authored by boklm's avatar boklm
Browse files

Bug 40748: Remove warning in dmg2mar when sha256sums-unsigned-build.txt contains an empty line

parent 76ea72c2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -95,6 +95,7 @@ sub get_dmg_files_from_sha256sums {
    my @files;
    foreach my $line (read_file('sha256sums-unsigned-build.txt')) {
        my (undef, $filename) = split '  ', $line;
        next unless $filename;
        chomp $filename;
        next unless $filename =~ m/^$appname_dmg-(.+)-macos_(.+)\.dmg$/;
        push @files, { filename => $filename, version => $1, lang => $2 };