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

[Git][lintian/lintian][master] Fix a boolean precedence issue in the additional condition of MR !442



Title: GitLab

Axel Beckert pushed to branch master at lintian / lintian

Commits:

  • 438a8252
    by Axel Beckert at 2023-01-18T12:18:48+01:00
    Fix a boolean precedence issue in the additional condition of MR !442
    
    Gbp-Dch: Ignore
    

1 changed file:

Changes:

  • lib/Lintian/Check/Documentation.pm
    ... ... @@ -124,8 +124,8 @@ sub visit_installed_files {
    124 124
           =~ m{^ usr/share/doc/ (?:.+/)? (?:doxygen|html) / .* [.]map [.] $regex }sx;
    
    125 125
     
    
    126 126
         if ($item->is_file
    
    127
    -        && any { $item->basename =~ m{$_}xi } @DOCUMENTATION_FILE_REGEXES
    
    128
    -        && any { $item->basename !~ m{$_}xi } @NOT_DOCUMENTATION_FILE_REGEXES) {
    
    127
    +        and any { $item->basename =~ m{$_}xi } @DOCUMENTATION_FILE_REGEXES
    
    128
    +        and any { $item->basename !~ m{$_}xi } @NOT_DOCUMENTATION_FILE_REGEXES) {
    
    129 129
     
    
    130 130
             $self->pointed_hint(
    
    131 131
                 'package-contains-documentation-outside-usr-share-doc',
    


  • Reply to: