diff options
Diffstat (limited to 'dh')
-rwxr-xr-x | dh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -874,7 +874,7 @@ foreach my $i (0..$stoppoint) { } next unless @todo; - next if can_skip($command, @todo) && ! $dh{NO_ACT}; + next if can_skip($command, @todo); # No need to run the command for any packages handled by the # override targets. @@ -1031,6 +1031,8 @@ my %skipinfo; sub can_skip { my ($command, @packages) = @_; + return 0 if $dh{NO_ACT} and not $ENV{DH_INTERNAL_TEST_CAN_SKIP}; + return 0 if $unoptimizable_user_option || (exists $ENV{DH_OPTIONS} && length $ENV{DH_OPTIONS}); |