The following commit has been merged in the master branch:
commit 3b17f7cb455700051637c048179711a97696e893
Author: Niels Thykier <[email protected]>
Date:   Fri Apr 8 12:53:23 2011 +0200

    Made the diff-contains-substvars regex a bit stricter

diff --git a/checks/cruft b/checks/cruft
index 5f8e2f5..dd35595 100644
--- a/checks/cruft
+++ b/checks/cruft
@@ -275,7 +275,7 @@ sub check_debfiles {
     }
 
     # Additional special checks only for the diff, not the full source.
-    if ($name =~ m@(?:.+\.)?substvars$@) {
+    if ($name =~ m@^(?:.+\.)?substvars$@o) {
         tag 'diff-contains-substvars', "debian/$name";
     }
 }

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to