r53043 - /trunk/dh-make-perl/lib/DhMakePerl.pm

dmn at users.alioth.debian.org dmn at users.alioth.debian.org
Thu Feb 18 22:37:50 UTC 2010


Author: dmn
Date: Thu Feb 18 22:37:44 2010
New Revision: 53043

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=53043
Log:
avoid creating empty examples/docs

Modified:
    trunk/dh-make-perl/lib/DhMakePerl.pm

Modified: trunk/dh-make-perl/lib/DhMakePerl.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/dh-make-perl/lib/DhMakePerl.pm?rev=53043&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Thu Feb 18 22:37:44 2010
@@ -1451,6 +1451,7 @@
     my ( $self, %p ) = @_;
 
     while ( my ( $file, $new_content ) = each %p ) {
+        next unless @$new_content;
         # pkgname.foo file
         my $pkg_file = $self->debian_file("$pkgname.$file");
         my %uniq_content;




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