summaryrefslogtreecommitdiff
path: root/dh_strip
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2015-04-15 21:56:20 +0200
committerNiels Thykier <niels@thykier.net>2015-05-02 10:29:40 +0200
commitda41bf6bb4ff01292a6c669dd95f07a9259384a8 (patch)
tree3cd58f4bce52667748ce8d0a003c7cc1684429d5 /dh_strip
parent017b20991408efe7a103a6d52b1b6638c1408f2c (diff)
downloaddebhelper-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-xdh_strip4
1 files changed, 1 insertions, 3 deletions
diff --git a/dh_strip b/dh_strip
index d4da5f9f..3eebee85 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);