[dh-make-perl] 01/02: DhMakePerl::Command::Packaging: extract_name_ver_from_build(): take the correct parameter

gregor herrmann gregoa at debian.org
Tue Jul 28 16:20:06 UTC 2015


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository dh-make-perl.

commit cf5fc7bb669264a0a19fcba0a5da7560bf584e07
Author: gregor herrmann <gregoa at debian.org>
Date:   Tue Jul 28 18:19:05 2015 +0200

    DhMakePerl::Command::Packaging: extract_name_ver_from_build(): take the correct parameter
    
    from the regex when parsing the name out of Build.PL.
---
 lib/DhMakePerl/Command/Packaging.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/DhMakePerl/Command/Packaging.pm b/lib/DhMakePerl/Command/Packaging.pm
index d2a6cba..0fce448 100644
--- a/lib/DhMakePerl/Command/Packaging.pm
+++ b/lib/DhMakePerl/Command/Packaging.pm
@@ -408,7 +408,7 @@ sub extract_name_ver_from_build {
 		 (\S+)/xs
         )
     {
-        $name = $self->unquote($2);
+        $name = $self->unquote($3);
         $name =~ s/::/-/g;
 
         # just in case we need it later

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/dh-make-perl.git



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