[debhelper-devel] [debhelper] 01/01: dh_{prep, clean}: Do more bulk removals
Niels Thykier
nthykier at moszumanska.debian.org
Sun Jun 4 17:17:31 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 6e7029f4e55b1168f8eb1ee8bc84a9be867ed69f
Author: Niels Thykier <niels at thykier.net>
Date: Sun Jun 4 17:16:52 2017 +0000
dh_{prep,clean}: Do more bulk removals
Signed-off-by: Niels Thykier <niels at thykier.net>
---
dh_clean | 3 ++-
dh_prep | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dh_clean b/dh_clean
index b0c7af3..47f0434 100755
--- a/dh_clean
+++ b/dh_clean
@@ -100,7 +100,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# These are all debhelper temp files, and so it is safe to
# wildcard them.
- complex_doit("rm -f debian/$ext*.debhelper");
+ my @temp = glob("debian/$ext*.debhelper");
+ push(@clean_files, @temp);
}
push(@clean_dirs , "${tmp}/")
diff --git a/dh_prep b/dh_prep
index 16f479c..1fb7f27 100755
--- a/dh_prep
+++ b/dh_prep
@@ -51,7 +51,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
# These are all debhelper temp files, and so it is safe to
# wildcard them.
- complex_doit("rm -f debian/$ext*.debhelper");
+ my @temp = glob("debian/$ext*.debhelper");
+ push(@clean_files, @temp);
push(@clean_dirs, "debian/.debhelper/generated/${package}/");
push(@clean_dirs , "${tmp}/")
unless excludefile($tmp);
--
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