mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Fix problem with regex in copyright test.
Report and fix by Kris Jurka
This commit is contained in:
@ -13,7 +13,7 @@ use warnings;
|
|||||||
use File::Find;
|
use File::Find;
|
||||||
|
|
||||||
my $pgdg = 'PostgreSQL Global Development Group';
|
my $pgdg = 'PostgreSQL Global Development Group';
|
||||||
my $cc = 'Copyright (c) ';
|
my $cc = 'Copyright \(c\) ';
|
||||||
# year-1900 is what localtime(time) puts in element 5
|
# year-1900 is what localtime(time) puts in element 5
|
||||||
my $year = 1900 + ${[localtime(time)]}[5];
|
my $year = 1900 + ${[localtime(time)]}[5];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user