The following commit has been merged in the master branch:
commit 936985a095dd59f2a322e77a307ed056d3045338
Author: Raphael Geissert <[EMAIL PROTECTED]>
Date:   Fri Nov 28 15:52:25 2008 +0100

    checks/debhelper: Recognise debhelper commands invoked with - prefix

diff --git a/checks/debhelper b/checks/debhelper
index 6dc81b5..3c53aea 100644
--- a/checks/debhelper
+++ b/checks/debhelper
@@ -96,7 +96,7 @@ open(RULES, '<', "debfiles/rules") or fail("cannot read 
debian/rules: $!");
 my $dhcompatvalue;
 my @versioncheck;
 while (<RULES>) {
-    if (m/^\s+(dh_\w+)/) {
+    if (m/^\s+-?(dh_\w+)/) {
         my $dhcommand = $1;
        if ($dhcommand =~ /dh_testversion(?:\s+(.+))?/) {
            $needversiondepends = $1 if ($1);

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to