diff options
author | Niels Thykier <niels@thykier.net> | 2015-04-15 21:56:20 +0200 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2015-05-02 10:29:40 +0200 |
commit | da41bf6bb4ff01292a6c669dd95f07a9259384a8 (patch) | |
tree | 3cd58f4bce52667748ce8d0a003c7cc1684429d5 /dh_strip | |
parent | 017b20991408efe7a103a6d52b1b6638c1408f2c (diff) | |
download | debhelper-da41bf6bb4ff01292a6c669dd95f07a9259384a8.tar.gz |
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@thykier.net>
Diffstat (limited to 'dh_strip')
-rwxr-xr-x | dh_strip | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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); |