diff options
author | Niels Thykier <niels@thykier.net> | 2018-01-07 09:48:03 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2018-01-07 09:48:03 +0000 |
commit | 62a4c177571afb07202219312d0c79389971d980 (patch) | |
tree | 8684f25d9c38ef42e04268b4259a5755af9d3f82 /dh | |
parent | 648c357c09d109f8b802fe3dd1091b734aa45271 (diff) | |
download | debhelper-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-x | dh | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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}; |