summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2018-03-07 19:44:57 +0000
committerNiels Thykier <niels@thykier.net>2018-03-07 19:44:57 +0000
commit30ea2c148eb780c3bdbc2269348794c2ef27b80a (patch)
treef9a9bad329c1803333e62cadc7dd3eeb112ff2d0 /dh
parent7025d4f38f2d263634932cd5faf32442c41015f7 (diff)
downloaddebhelper-30ea2c148eb780c3bdbc2269348794c2ef27b80a.tar.gz
Move sub from dh to D::DH::SequencerUtil
Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh')
-rwxr-xr-xdh17
1 files changed, 0 insertions, 17 deletions
diff --git a/dh b/dh
index 566432ff..6afa234c 100755
--- a/dh
+++ b/dh
@@ -1047,23 +1047,6 @@ sub can_skip {
return 1;
}
-sub extract_skipinfo {
- my ($command) = @_;
-
- foreach my $dir (split (':', $ENV{PATH})) {
- if (open (my $h, "<", "$dir/$command")) {
- while (<$h>) {
- if (m/PROMISE: DH NOOP( WITHOUT\s+(.*))?\s*$/) {
- close $h;
- return split(' ', $2) if defined($2);
- return ('always-skip');
- }
- }
- close $h;
- return ();
- }
- }
-}
=head1 SEE ALSO