mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
Fix updating the copyright headers.
This commit is contained in:
parent
f6489c3456
commit
bddfb460e5
@ -59,7 +59,7 @@ for my $path (@paths) {
|
||||
my ($copyright, $indent, @lines);
|
||||
for my $line (<$fh>) {
|
||||
chomp $line;
|
||||
if ($line =~ /^([^0-9A-Za-z]+\s)Copyright\s+\(C\)\s+[^<]+\s+<[^>]+>$/) {
|
||||
if ($line =~ /^([^0-9A-Za-z]+\s)Copyright\s+\(C\)\s+[^<]+(\s+<[^>]+>)?$/) {
|
||||
$copyright = scalar @lines;
|
||||
$indent = $1;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user