1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Fix problem with regex in copyright test.

Report and fix by Kris Jurka
This commit is contained in:
Bruce Momjian
2011-08-19 17:45:10 -04:00
parent 272c289a46
commit 6dfcadafd3

View File

@ -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];