1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-11-29 22:28:02 +02:00

Test release version using change-log.xml instead of CHANGELOG.md.

This is in preparation for moving the change log to the website and removing it from Github.
This commit is contained in:
David Steele
2016-05-23 19:33:02 -04:00
parent 3af48f1d78
commit c604b6e657
3 changed files with 13 additions and 28 deletions

View File

@@ -12,6 +12,8 @@ use Carp qw(confess);
use File::Basename qw(dirname);
use Scalar::Util qw(blessed);
use XML::Checker::Parser;
use lib dirname($0) . '/../lib';
use pgBackRest::Common::Log;
use pgBackRest::Common::String;
@@ -72,15 +74,7 @@ sub new
else
{
my $oParser = XML::Checker::Parser->new(ErrorContext => 2, Style => 'Tree');
if (-e dirname($0) . '/dtd')
{
$oParser->set_sgml_search_path(dirname($0) . '/dtd')
}
else
{
$oParser->set_sgml_search_path(dirname($0) . '/xml/dtd');
}
$oParser->set_sgml_search_path(dirname($self->{strFileName}) . '/dtd', dirname($self->{strFileName}) . '/xml/dtd');
my $oTree;