summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
Diffstat (limited to 'dh')
-rwxr-xr-xdh15
1 files changed, 1 insertions, 14 deletions
diff --git a/dh b/dh
index ca92220d..35ef157c 100755
--- a/dh
+++ b/dh
@@ -874,20 +874,7 @@ foreach my $i (0..$stoppoint) {
}
next unless @todo;
- if (can_skip($command, @todo) && ! $dh{NO_ACT}) {
- # This mkdir is to avoid skipping the command causing
- # breakage if some later command assumed that the
- # command ran, and created the tmpdir, as a side effect.
- # No commands in debhelper should make such an assuption,
- # but there may be third party commands or other things
- # in the rules file that does.
- if (! compat(10)) {
- foreach my $package (@todo) {
- mkdir(tmpdir($package));
- }
- }
- next;
- }
+ next if can_skip($command, @todo) && ! $dh{NO_ACT};
# No need to run the command for any packages handled by the
# override targets.