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

[SCM] Debian package checker branch, master, updated. 2.5.14-2-g3959731



The following commit has been merged in the master branch:
commit 395973144f5054fcb815adad4fc95b1dafc0fa9e
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Jun 29 21:29:08 2013 +0200

    c/copyright-file.pm: Remove redundant call to $info->index
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/copyright-file.pm b/checks/copyright-file.pm
index ae06a1d..14e4687 100644
--- a/checks/copyright-file.pm
+++ b/checks/copyright-file.pm
@@ -46,8 +46,7 @@ if ($info->index ("$path/copyright.gz")) {
     $found = 1;
 }
 
-if ($info->index ("$path/copyright")) {
-    my $index_info = $info->index ("$path/copyright");
+if (my $index_info = $info->index("$path/copyright")) {
     $found = 1;
     if ($index_info->is_symlink) {
         tag 'copyright-file-is-symlink';

-- 
Debian package checker


Reply to: