mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 17:41:50 -04:00
add sanity check that $base is '.docbook'
This commit is contained in:
parent
e1a21681df
commit
2aef94156e
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ while (<CHANGES>) {
|
|||
}
|
||||
my $m_year = int(`sh util/file_year.sh $_`);
|
||||
if (($file_types{$_} eq "MAN" || $file_types{$_} eq "HTML") &&
|
||||
-e $base) {
|
||||
$base =~ /\.docbook$/ && -e $base) {
|
||||
$file_years{$_} = "DOCBOOK";
|
||||
} elsif ($m_year != $year) {
|
||||
print "$_: must set copyright year(s) manually\n";
|
||||
|
|
|
|||
Loading…
Reference in a new issue