summaryrefslogtreecommitdiffstats
path: root/scripts/Dpkg/Changelog/Debian.pm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:32:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:32:49 +0000
commit9155e8d6752d34e4ea3f022ee51e099420517669 (patch)
tree61c6261279988bba2de9f629a0ee0bd91b45d32f /scripts/Dpkg/Changelog/Debian.pm
parentAdding upstream version 1.22.9. (diff)
downloaddpkg-9155e8d6752d34e4ea3f022ee51e099420517669.tar.xz
dpkg-9155e8d6752d34e4ea3f022ee51e099420517669.zip
Adding upstream version 1.22.10.upstream/1.22.10
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'scripts/Dpkg/Changelog/Debian.pm')
-rw-r--r--scripts/Dpkg/Changelog/Debian.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Dpkg/Changelog/Debian.pm b/scripts/Dpkg/Changelog/Debian.pm
index e7dd7c4..051bea7 100644
--- a/scripts/Dpkg/Changelog/Debian.pm
+++ b/scripts/Dpkg/Changelog/Debian.pm
@@ -200,7 +200,7 @@ sub parse {
$self->parse_error($file, $., $error, $_);
}
$expect = NEXT_OR_EOF;
- } elsif (m/^ \-\-/) {
+ } elsif (m/^ --/) {
$self->parse_error($file, $., g_('badly formatted trailer line'), "$_");
} elsif (m/^\s{2,}(?:\S)/) {
unless ($expect eq START_CHANGES or $expect eq CHANGES_OR_TRAILER) {