summaryrefslogtreecommitdiff
path: root/Debian/Debhelper
diff options
context:
space:
mode:
Diffstat (limited to 'Debian/Debhelper')
-rw-r--r--Debian/Debhelper/Dh_Getopt.pm1
-rw-r--r--Debian/Debhelper/Dh_Lib.pm4
2 files changed, 2 insertions, 3 deletions
diff --git a/Debian/Debhelper/Dh_Getopt.pm b/Debian/Debhelper/Dh_Getopt.pm
index 02045bbe..18157bf0 100644
--- a/Debian/Debhelper/Dh_Getopt.pm
+++ b/Debian/Debhelper/Dh_Getopt.pm
@@ -126,7 +126,6 @@ sub parseopts {
"filename=s" => \$options{FILENAME},
- "number=i" => \$options{PRIORITY}, # deprecated
"priority=i" => \$options{PRIORITY},
"flavor=s" => \$options{FLAVOR},
diff --git a/Debian/Debhelper/Dh_Lib.pm b/Debian/Debhelper/Dh_Lib.pm
index e71895e4..82877340 100644
--- a/Debian/Debhelper/Dh_Lib.pm
+++ b/Debian/Debhelper/Dh_Lib.pm
@@ -190,7 +190,7 @@ sub dirname { my $fn=shift;
}
# Pass in a number, will return true iff the current compatability level
-# is equal to that number.
+# is less than or equal to that number.
sub compat {
my $num=shift;
@@ -203,7 +203,7 @@ sub compat {
error("Sorry, but $max_compat is the highest compatability level of debhelper currently supported.");
}
- return ($c == $num);
+ return ($c <= $num);
}
# Pass it a name of a binary package, it returns the name of the tmp dir to