diff options
Diffstat (limited to 'Debian/Debhelper/Dh_Lib.pm')
-rw-r--r-- | Debian/Debhelper/Dh_Lib.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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 |