Commit d134dd9c authored by Mark Andrews's avatar Mark Andrews
Browse files

Merge branch...

Merge branch '980-util-update_copyrights-now-needs-to-handle-files-with-cr-lf-endings' into 'master'

Resolve "util/update_copyrights now needs to handle files with CR LF endings."

Closes #980

See merge request !1801
parents a3fd4115 e76936fd
Pipeline #13392 passed with stages
in 59 seconds
......@@ -227,7 +227,7 @@ foreach $file (keys %file_types) {
($nonspaceprefix = $prefix) =~ s/\s+$//;
open(SOURCE, "<$file") || die "can't open $file: $!";
open(SOURCE, "<:crlf", $file) || die "can't open $file: $!";
$_ = <SOURCE>;
if ($type eq "YACC") {
unless ($_ eq "%{\n") {
Markdown is supported
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