Fix xmlvalidator following a4852c4c01

The xmlValidator complained about GUI pages.
ff924aaffc missed that script.

Fixes #5912

Differential Revision: https://code.wildfiregames.com/D3349
This was SVN commit r24594.
This commit is contained in:
wraitii 2021-01-13 10:33:01 +00:00
parent 65772447f7
commit 6ed6dcdfd9

View File

@ -98,7 +98,8 @@ sub validate_guis
my (@guipages, @guixmls);
for my $f (@files)
{
if ($f =~ /^gui\/page_/)
# GUI page definitions are assumed to be named page_[something].xml and alone in that.
if ($f =~ /\/page_[^.\/]+\.xml$/)
{
push @guipages, $f;
}