summaryrefslogtreecommitdiff
path: root/scripts/dpkg-parsechangelog.pl
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2007-07-22 00:31:25 +0000
committerGuillem Jover <guillem@debian.org>2007-07-22 00:31:25 +0000
commita5e3f549182cb5776bba9e1b1fd8bac409fab842 (patch)
treeeb0cb7bf486751f7f62445ce9e3ea947178d8010 /scripts/dpkg-parsechangelog.pl
parentdfd0e4dc80ad2b6b8c3a1870f9fd0f2eea5b47fc (diff)
downloaddpkg-a5e3f549182cb5776bba9e1b1fd8bac409fab842.tar.gz
Switch perl programs to use the new Dpkg module and its variables.
Diffstat (limited to 'scripts/dpkg-parsechangelog.pl')
-rwxr-xr-xscripts/dpkg-parsechangelog.pl5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/dpkg-parsechangelog.pl b/scripts/dpkg-parsechangelog.pl
index 4a7df3ced..2ef223b5a 100755
--- a/scripts/dpkg-parsechangelog.pl
+++ b/scripts/dpkg-parsechangelog.pl
@@ -3,12 +3,9 @@
use strict;
use warnings;
-our $progname;
-our $version = '1.3.0'; # This line modified by Makefile
-our $dpkglibdir = "/usr/lib/dpkg"; # This line modified by Makefile
-
use POSIX;
use POSIX qw(:errno_h);
+use Dpkg;
push(@INC,$dpkglibdir);
require 'controllib.pl';