summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2018-01-07 09:48:03 +0000
committerNiels Thykier <niels@thykier.net>2018-01-07 09:48:03 +0000
commit62a4c177571afb07202219312d0c79389971d980 (patch)
tree8684f25d9c38ef42e04268b4259a5755af9d3f82 /dh
parent648c357c09d109f8b802fe3dd1091b734aa45271 (diff)
downloaddebhelper-62a4c177571afb07202219312d0c79389971d980.tar.gz
dh: Fix off-by-one in a compat check
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh')
-rwxr-xr-xdh6
1 files changed, 3 insertions, 3 deletions
diff --git a/dh b/dh
index e123ed03..7e5322e0 100755
--- a/dh
+++ b/dh
@@ -687,12 +687,12 @@ if ( -f $build_stamp_file and not compat(9)) {
$completed_sequences{'build'} = 1 if $build_indep_target_done and $build_arch_target_done;
}
-# In compat <= 9, the sequences are always inlined (those versions do not
-# recurse into debian/rules anyway). In compat 10+, we never inline an
+# In compat <= 8, the sequences are always inlined (those versions do not
+# recurse into debian/rules anyway). In compat 9+, we never inline an
# existing rules target.
my ($rules_targets, $full_sequence) = optimize_sequence(\%sequences,
$sequence,
- (!compat(9) ? 0 : 1),
+ (!compat(8) ? 0 : 1),
\%completed_sequences
);
my $stoppoint = $#{$full_sequence};