diff options
author | Niels Thykier <niels@thykier.net> | 2018-09-13 19:41:03 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2018-09-14 18:54:21 +0000 |
commit | b4d25f15292cba1f3781fb6c8747697897d4099b (patch) | |
tree | bf8bac6cc4f26bac5277201aad1ed5ccb3a13a1b /dh | |
parent | 3e869c10ff3c6b5b0865259e857ff217747906aa (diff) | |
download | debhelper-b4d25f15292cba1f3781fb6c8747697897d4099b.tar.gz |
dh: Remove broken (and obsolete) compat item
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh')
-rwxr-xr-x | dh | 15 |
1 files changed, 1 insertions, 14 deletions
@@ -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. |