[debhelper-devel] [debhelper] 02/07: dh_strip: Include the full debug ids in the header

Niels Thykier nthykier at moszumanska.debian.org
Sat Aug 22 17:35:36 UTC 2015


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

nthykier pushed a commit to branch master
in repository debhelper.

commit b643ae3195574545c07d44ac2c716af55063406e
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Aug 22 19:30:38 2015 +0200

    dh_strip: Include the full debug ids in the header
    
    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 7937303..2d34572 100755
--- a/dh_strip
+++ b/dh_strip
@@ -234,7 +234,7 @@ sub make_debug {
 	if ($use_build_id &&
 	    `LC_ALL=C readelf -n $file`=~ /^\s+Build ID: ([0-9a-f]{2})([0-9a-f]+)$/m) {
 		$debug_path=$desttmp."/usr/lib/debug/.build-id/$1/$2.debug";
-		$debug_build_id=$2;
+		$debug_build_id="${1}${2}";
 	}
 	elsif ($use_build_id > 1) {
 		# For ddebs, we need build-id (else it will not be co-installable).

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