diff options
author | Niels Thykier <niels@thykier.net> | 2018-03-07 19:44:57 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2018-03-07 19:44:57 +0000 |
commit | 30ea2c148eb780c3bdbc2269348794c2ef27b80a (patch) | |
tree | f9a9bad329c1803333e62cadc7dd3eeb112ff2d0 /dh | |
parent | 7025d4f38f2d263634932cd5faf32442c41015f7 (diff) | |
download | debhelper-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-x | dh | 17 |
1 files changed, 0 insertions, 17 deletions
@@ -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 |