[SCM] Debian package checker branch, infra-513663, updated. 2.5.0-rc1-105-g9361656
The following commit has been merged in the infra-513663 branch:
commit 936165608a5377da4652ff043ded3b6b00462e7f
Author: Niels Thykier <niels@thykier.net>
Date: Tue Mar 29 19:56:12 2011 +0200
Added missing brackets in L::P
diff --git a/lib/Lintian/Processable.pm b/lib/Lintian/Processable.pm
index 6b489c1..7d5703f 100644
--- a/lib/Lintian/Processable.pm
+++ b/lib/Lintian/Processable.pm
@@ -162,7 +162,7 @@ sub _init{
$self->{pkg_src_version} = $pkg_version;
} elsif ($pkg_type eq 'changes'){
my $cinfo = get_dsc_info ($pkg_path) or fail "$pkg_path is not a valid changes file";
- my $pkg_name = ($pkg_path =~ m,.*/([^/]+)\.changes,);
+ my ($pkg_name) = ($pkg_path =~ m,.*/([^/]+)\.changes,);
my $pkg_version = $cinfo->{version};
$self->{pkg_name} = $pkg_name;
$self->{pkg_version} = $pkg_version;
--
Debian package checker
Reply to: