From ae44c7ad2e13699ad7b8002fa56b3f4227366522 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Sun, 22 Jul 2007 00:34:50 +0000 Subject: [PATCH] Switch perl 822-date and changelog/debian as well to use the new Dpkg module and its variables. --- ChangeLog | 2 ++ scripts/822-date.pl | 3 ++- scripts/changelog/debian.pl | 4 +--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index e79bda57..479cd29d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,8 @@ * scripts/dpkg-statoverride.pl: Likewise. * scripts/install-info.pl: Likewise. * scripts/update-alternatives.pl: Likewise. + * scripts/822-date.pl: Likewise. + * changelog/debian.pl: Likewise. * scripts/controllib.pl (init_substvars): Remove comment about $version needing to be a global variable set elsewhere. diff --git a/scripts/822-date.pl b/scripts/822-date.pl index 4da7da43..c3145451 100755 --- a/scripts/822-date.pl +++ b/scripts/822-date.pl @@ -3,7 +3,8 @@ use strict; use warnings; -our $dpkglibdir = "."; # This line modified by Makefile +use Dpkg; + push(@INC, $dpkglibdir); require 'dpkg-gettext.pl'; textdomain("dpkg-dev"); diff --git a/scripts/changelog/debian.pl b/scripts/changelog/debian.pl index 6504a088..0c8a094f 100755 --- a/scripts/changelog/debian.pl +++ b/scripts/changelog/debian.pl @@ -7,9 +7,7 @@ use strict; use warnings; -our $progname; -our $version = '1.3.0'; # This line modified by Makefile -our $dpkglibdir = "."; # This line modified by Makefile +use Dpkg; push(@INC,$dpkglibdir); require 'controllib.pl'; -- 2.39.5