[debhelper-devel] [debhelper] 01/01: dh_install: Use doit instead of system
Niels Thykier
nthykier at moszumanska.debian.org
Sat Jun 24 13:20:42 UTC 2017
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit cdd4f3fa59e71af36d31ca5c1cf5af1f41c7d7ee
Author: Niels Thykier <niels at thykier.net>
Date: Sat Jun 24 13:20:20 2017 +0000
dh_install: Use doit instead of system
Signed-off-by: Niels Thykier <niels at thykier.net>
---
dh_install | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/dh_install b/dh_install
index 2806af9..df60f49 100755
--- a/dh_install
+++ b/dh_install
@@ -277,12 +277,7 @@ if ($dh{LIST_MISSING} || $dh{FAIL_MISSING}) {
push(@options, '--sourcedir', $dh{SOURCEDIR}) if defined($dh{SOURCEDIR});
push @options, "--list-missing" if $dh{LIST_MISSING};
push @options, "--fail-missing" if $dh{FAIL_MISSING};
- my $ret = system("dh_missing", @options);
- if ($ret >> 8 != 0) {
- exit $ret >> 8;
- } elsif ($ret) {
- exit 1;
- }
+ doit("dh_missing", @options);
}
=head1 LIMITATIONS
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list