mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-01 18:25:59 +00:00
Completely fix util/new-copyright-year.
This commit is contained in:
@@ -11,16 +11,16 @@ eval {
|
||||
|
||||
my $new_copyright;
|
||||
if ( $first_year && $last_year ) {
|
||||
$new_copyright = "$first_year-$year Percona Ireland Ltd"
|
||||
$new_copyright = "$first_year-$year Percona LLC and/or its affiliates"
|
||||
}
|
||||
elsif ( $first_year < $year ) {
|
||||
$new_copyright = "$first_year-$year Percona Ireland Ltd"
|
||||
$new_copyright = "$first_year-$year Percona LLC and/or its affiliates"
|
||||
}
|
||||
else {
|
||||
$new_copyright = "$first_year Percona Ireland Ltd"
|
||||
$new_copyright = "$first_year Percona LLC and/or its affiliates"
|
||||
}
|
||||
|
||||
$copyright =~ s/\S+ Percona Ireland Ltd/$new_copyright/;
|
||||
$copyright =~ s/\S+ Percona LLC and\/or its affiliates/$new_copyright/;
|
||||
print $copyright;
|
||||
};
|
||||
die $EVAL_ERROR if $EVAL_ERROR;
|
||||
|
Reference in New Issue
Block a user