Package: debhelper
Version: 13.11.4
Severity: minor
Tags: patch

Hello.

I suspect a missing dollar character in dh_installchangelog.
Sorry for the noise if this is some deliberate Perl black magic.

--- a/dh_installchangelogs
+++ b/dh_installchangelogs
@@ -148,7 +148,7 @@
        foreach my $suffix ('', qw(.txt .md .rst)) {
                foreach my $name (qw{changelog changes history}) {
                        my @matches=grep {
-                               lc basename($_) eq "$name$suffix" && -f $_ && 
-s _ && ! excludefile($_)
+                               lc basename($_) eq "$name$suffix" && -f $_ && 
-s $_ && ! excludefile($_)
                        } @files;
                        if (@matches) {
                                return shift(@matches);

Reply via email to