r34879 - /trunk/dh-make-perl/lib/DhMakePerl.pm
dmn at users.alioth.debian.org
dmn at users.alioth.debian.org
Wed May 6 18:51:25 UTC 2009
Author: dmn
Date: Wed May 6 18:51:21 2009
New Revision: 34879
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=34879
Log:
find_debs_for_modules: fix determining dist name
thanks to Gregor for reporting
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=34879&op=diff
==============================================================================
--- trunk/dh-make-perl/lib/DhMakePerl.pm (original)
+++ trunk/dh-make-perl/lib/DhMakePerl.pm Wed May 6 18:51:21 2009
@@ -1000,7 +1000,7 @@
my $mod = $self->find_cpan_module($module);
if ($mod) {
- my $dist = $mod->distribution->base_id =~ s/-v?\d[^-]*$//;
+ ( my $dist = $mod->distribution->base_id ) =~ s/-v?\d[^-]*$//;
my $pkg = 'lib' . lc($dist) . '-perl';
print " CPAN contains it in $dist\n";
More information about the Pkg-perl-cvs-commits
mailing list