[Reproducible-commits] [debhelper] 04/17: dh_strip: Skip ddeb generation with -k or explicit -dbg pkg
Mattia Rizzolo
mattia at mapreri.org
Sat Apr 11 11:58:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
mapreri-guest pushed a commit to branch pu/reproducible_builds
in repository debhelper.
commit 65db873af453c311069c88ec59b65f4b6bc30f9f
Author: Niels Thykier <niels at thykier.net>
Date: Sat Apr 11 05:13:59 2015 +0200
dh_strip: Skip ddeb generation with -k or explicit -dbg pkg
Add a missing check for explicit -dbg packages (or a -k flag), which
was meant to inhibit the creation of ddebs.
Reported-by: Reiner Herrmann <reiner at reiner-h.de>
Signed-off-by: Niels Thykier <niels at thykier.net>
---
dh_strip | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dh_strip b/dh_strip
index b580f78..e0e886b 100755
--- a/dh_strip
+++ b/dh_strip
@@ -218,7 +218,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
$debugtmp=tmpdir($package."-dbg");
}
}
- if ($ENV{'DH_BUILD_DDEBS'} and package_arch($package) ne 'all') {
+ if ($ENV{'DH_BUILD_DDEBS'} and not $keep_debug and package_arch($package) ne 'all') {
$debugtmp = "debian/.debhelper/${package}/ddeb-root";
$keep_debug = 1;
$use_build_id = 2;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git
More information about the Reproducible-commits
mailing list