[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: coll/init.d: Ensure "$type" is declared so we can use it



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

nthykier pushed a commit to branch master
in repository lintian.

commit 218bb9bc4060856da02b8acd6bba7c308ac3e2c2
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Sep 30 22:44:21 2014 +0200

    coll/init.d: Ensure "$type" is declared so we can use it
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 collection/init.d | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/collection/init.d b/collection/init.d
index cf28100..98f6504 100755
--- a/collection/init.d
+++ b/collection/init.d
@@ -29,7 +29,7 @@ use lib "$ENV{'LINTIAN_ROOT'}/lib";
 use Lintian::Util qw(copy_dir delete_dir fail is_ancestor_of);
 
 sub collect {
-    my (undef, undef, $dir) = @_;
+    my (undef, $type, $dir) = @_;
 
     if (-e "$dir/init.d") {
         delete_dir("$dir/init.d")

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: