[debhelper-devel] [debhelper] 06/07: dh_strip: Fix ddeb bug that caused it to produce empty -dbg pkgs

Niels Thykier nthykier at moszumanska.debian.org
Sat May 2 09:51:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to annotated tag 9.20150501+ddebs
in repository debhelper.

commit edeb8e82c6b5bb4d47232bbf9af5e9fd7875b7d5
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 d4da5f9..3eebee8 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/debhelper/debhelper.git




More information about the debhelper-devel mailing list