[pkg-components] 01/07: bin/dh_components: fix usage of Dh_Lib's doit().
gregor herrmann
gregoa at debian.org
Sat Jul 15 20:42:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository pkg-components.
commit 25a5111c5b11546624a3dcdcdf3b0451e07445d5
Author: gregor herrmann <gregoa at debian.org>
Date: Sat Jul 15 22:26:46 2017 +0200
bin/dh_components: fix usage of Dh_Lib's doit().
Thanks: Niels Thykier for the bug report.
Closes: #868472
---
bin/dh_components | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/dh_components b/bin/dh_components
index d6e509c..f54b5e1 100755
--- a/bin/dh_components
+++ b/bin/dh_components
@@ -40,7 +40,7 @@ foreach my $package (getpackages()) {
foreach my $bs ($component_data->build_stages) {
my $script = $component_data->script($c, $bs);
my $command = "CURDIR=$CWD PACKAGE=$package DH_COMPONENT=$c $script";
- doit($command);
+ complex_doit($command);
}
}
@@ -62,7 +62,7 @@ foreach my $package (getpackages()) {
# Clean up the old components directory
if ($dh{PURGE} or not defined $dh{PURGE}) {
- doit("rm -rf COMPONENTS");
+ doit('rm', '-fr', 'COMPONENTS');
}
exit(0);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/pkg-components.git
More information about the Pkg-perl-cvs-commits
mailing list