[debhelper-devel] [debhelper] 02/02: dh: Fix off-by-one in compat condition

Niels Thykier nthykier at moszumanska.debian.org
Sat Apr 2 19:03:10 UTC 2016


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

nthykier pushed a commit to branch master
in repository debhelper.

commit f35eee07774261096f5b672ee9e780c58923ee38
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Apr 2 19:02:13 2016 +0000

    dh: Fix off-by-one in compat condition
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dh b/dh
index fdeee46..f7321f1 100755
--- a/dh
+++ b/dh
@@ -287,7 +287,7 @@ if (compat(8, 1)) {
 	# (and comes first so python-central loads later and can disable it).
 	unshift @ARGV, "--with=python-support";
 }
-if (not compat(10, 1)) {
+if (not compat(9, 1)) {
 	# Enable autoreconf'ing by default in compat 10 or later.  Use the
 	# sequence add-on so existing --without=autoreconf
 	unshift(@ARGV, "--with=autoreconf");

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list