summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2018-03-07 20:36:56 +0000
committerNiels Thykier <niels@thykier.net>2018-03-07 20:37:07 +0000
commitd68d6751a86052246433bf4381a5f8daac45f90d (patch)
tree5eb6875a873cd53ccaaeb6e7c481795627c5d9db /lib
parent53697e65c4404b9a19fcf4332aead0f9412d7fe4 (diff)
downloaddebhelper-d68d6751a86052246433bf4381a5f8daac45f90d.tar.gz
SequencerUtil: Always inline when asked to always inline
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/Debian/Debhelper/SequencerUtil.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Debian/Debhelper/SequencerUtil.pm b/lib/Debian/Debhelper/SequencerUtil.pm
index c0d047db..9a9ce2bf 100644
--- a/lib/Debian/Debhelper/SequencerUtil.pm
+++ b/lib/Debian/Debhelper/SequencerUtil.pm
@@ -45,9 +45,9 @@ sub unpack_sequence {
my $command = shift(@{$current_sequence});
my $rules_target=extract_rules_target_name($command);
next if (defined($rules_target) and exists($completed_sequences->{$rules_target}));
- if (defined($rules_target) &&
+ if (defined($rules_target) && ($always_inline ||
! exists($non_inlineable_targets{$rules_target}) &&
- ! defined(rules_explicit_target($rules_target))) {
+ ! defined(rules_explicit_target($rules_target)))) {
# inline the sequence for this implicit target.
push(@stack, $current_sequence);