r60763 - in /trunk/dh-make-perl: debian/changelog lib/DhMakePerl/Command/Packaging.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Wed Jul 28 20:49:53 UTC 2010


Author: dmn
Date: Wed Jul 28 20:49:26 2010
New Revision: 60763

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=60763
Log:
fix a lexical declaration within a conditional statement

these things are dangerous

Modified:
    trunk/dh-make-perl/debian/changelog
    trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm

Modified: trunk/dh-make-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/debian/changelog?rev=60763&op=diff
==============================================================================
--- trunk/dh-make-perl/debian/changelog (original)
+++ trunk/dh-make-perl/debian/changelog Wed Jul 28 20:49:26 2010
@@ -10,6 +10,9 @@
     to the dh commands in debian/rules.
   * Now really bump Standards-Version of dh-make-perl to 3.9.1 in
     debian/control.
+
+  [ Damyan Ivanov ]
+  * Packaging.pm: fix a lexical declaration within a conditional statement
 
  -- Salvatore Bonaccorso <salvatore.bonaccorso at gmail.com>  Wed, 28 Jul 2010 11:00:56 +0200
 

Modified: trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm?rev=60763&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl/Command/Packaging.pm Wed Jul 28 20:49:26 2010
@@ -1128,7 +1128,8 @@
 
     if ( my $apt_contents = $self->get_apt_contents ) {
 
-        my $wnpp_query
+        my $wnpp_query;
+        $wnpp_query
             = Debian::WNPP::Query->new(
             { cache_file => catfile( $self->cfg->home_dir, 'wnpp.cache' ) } )
             if $self->cfg->network;




More information about the Pkg-perl-cvs-commits mailing list