summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Changelog/Parse.pm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Dpkg/Changelog/Parse.pm')
-rw-r--r--scripts/Dpkg/Changelog/Parse.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Dpkg/Changelog/Parse.pm b/scripts/Dpkg/Changelog/Parse.pm
index 538301273..4014659b9 100644
--- a/scripts/Dpkg/Changelog/Parse.pm
+++ b/scripts/Dpkg/Changelog/Parse.pm
@@ -36,7 +36,7 @@ use warnings;
our $VERSION = '1.00';
-use Dpkg; # for $dpkglibdir
+use Dpkg qw();
use Dpkg::Gettext;
use Dpkg::ErrorHandling;
use Dpkg::Control::Changelog;
@@ -75,7 +75,7 @@ it's passed as the parameter that follows.
sub changelog_parse {
my (%options) = @_;
my @parserpath = ('/usr/local/lib/dpkg/parsechangelog',
- "$dpkglibdir/parsechangelog",
+ "$Dpkg::LIBDIR/parsechangelog",
'/usr/lib/dpkg/parsechangelog');
my $format = 'debian';
my $changelogfile = 'debian/changelog';