Author: guillem
Date: 2007-07-22 00:34:50 +0000 (Sun, 22 Jul 2007)
New Revision: 884
Modified:
trunk/ChangeLog
trunk/scripts/822-date.pl
trunk/scripts/changelog/debian.pl
Log:
Switch perl 822-date and changelog/debian as well to use the new Dpkg
module and its variables.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-07-22 00:31:25 UTC (rev 883)
+++ trunk/ChangeLog 2007-07-22 00:34:50 UTC (rev 884)
@@ -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.
Modified: trunk/scripts/822-date.pl
===================================================================
--- trunk/scripts/822-date.pl 2007-07-22 00:31:25 UTC (rev 883)
+++ trunk/scripts/822-date.pl 2007-07-22 00:34:50 UTC (rev 884)
@@ -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");
Modified: trunk/scripts/changelog/debian.pl
===================================================================
--- trunk/scripts/changelog/debian.pl 2007-07-22 00:31:25 UTC (rev 883)
+++ trunk/scripts/changelog/debian.pl 2007-07-22 00:34:50 UTC (rev 884)
@@ -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';
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]