[Reproducible-commits] [debhelper] 01/03: dh_strip: Fix ddeb bug that caused it to produce empty -dbg pkgs

Mattia Rizzolo mattia at mapreri.org
Wed Apr 15 22:49:07 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 8cb59e35b3de52a2984ee6b15653e2e10b7bdc0d
Author: Niels Thykier <niels at thykier.net>
Date:   Wed Apr 15 21:56:20 2015 +0200

    dh_strip: Fix ddeb bug that caused it to produce empty -dbg pkgs
    
    Thanks to Mattia Rizzolo and Reiner Herrmann for reporting it.
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_strip | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/dh_strip b/dh_strip
index f5b1335..0843dc8 100755
--- a/dh_strip
+++ b/dh_strip
@@ -198,7 +198,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 
 	# Support for keeping the debugging symbols in a detached file.
 	my $keep_debug=$dh{K_FLAG};
-	my $debugtmp;
+	my $debugtmp=$tmp;
 	my $use_build_id = compat(8) ? 0 : 1;
 	if (! compat(4)) {
 		if (ref $dh{DEBUGPACKAGES}) {
@@ -222,8 +222,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 		$debugtmp = "debian/.debhelper/${package}/ddeb-root";
 		$keep_debug = 1;
 		$use_build_id = 2;
-	} else {
-		$debugtmp = $tmp;
 	}
 	@shared_libs=@executables=@static_libs=();
 	find(\&testfile,$tmp);

-- 
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