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

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=5c9bfddc1794690dff7f8c8c6086a017da0da599

commit 5c9bfddc1794690dff7f8c8c6086a017da0da599 (HEAD -> main)
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Mon Dec 6 13:35:39 2021 +0100

    dpkg-buildpackage: Fix build description due to improper multiline match
    
    The string passed is a multiline, so we need to use take that into
    account when matching regexes anchored at the end of line.
    
    Warned-by: devscripts test-suite
    Fixes: commit 5fbe26662ee96b1005fde6ee1f32e694594ec1a9
---
 scripts/dpkg-buildpackage.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl
index f52a698a4..aadad659a 100755
--- a/scripts/dpkg-buildpackage.pl
+++ b/scripts/dpkg-buildpackage.pl
@@ -909,7 +909,7 @@ sub signfile {
 sub fileomitted {
     my ($files, $regex) = @_;
 
-    return $files !~ /$regex$/
+    return $files !~ m/$regex$/m
 }
 
 sub describe_build {

-- 
Dpkg.Org's dpkg

Reply via email to