summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2016-09-28 15:42:37 +0000
committerNiels Thykier <niels@thykier.net>2016-09-28 15:42:40 +0000
commit583079e4e52358973848c8bacf09079a873c2d4b (patch)
treeaf0966cd054a822be283d125e30d9a449981b675
parentecfa8d0aa124961e5892cea5c23d3bb67f54c0a0 (diff)
downloaddebhelper-583079e4e52358973848c8bacf09079a873c2d4b.tar.gz
dh_strip: Avoid duplicate condition
Reported-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Niels Thykier <niels@thykier.net>
-rwxr-xr-xdh_strip2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh_strip b/dh_strip
index 2f20dabf..7161cc5d 100755
--- a/dh_strip
+++ b/dh_strip
@@ -260,7 +260,7 @@ sub make_debug {
$debug_path=$desttmp."/usr/lib/debug/.build-id/$1/$2.debug";
$debug_build_id="${1}${2}";
push(@build_ids, $debug_build_id);
- } elsif ($use_build_id > 1) {
+ } else {
# For dbgsyms, we need build-id (else it will not be
# co-installable).
return if $use_build_id > 1;