diff options
author | Sven Joachim <svenjoac@gmx.de> | 2016-07-01 20:24:14 +0000 |
---|---|---|
committer | Niels Thykier <niels@thykier.net> | 2016-07-01 20:24:14 +0000 |
commit | 6307207499e493acd32b3043949a2982ca9d4e90 (patch) | |
tree | 16aafb4767a7d52606e10fde7e2c558531160537 | |
parent | 55fe0560744bba8d15b4d723065db3dfd5ae6a4c (diff) | |
download | debhelper-6307207499e493acd32b3043949a2982ca9d4e90.tar.gz |
dh_strip: Fix handling of hardlinked ELF when using build-ids
Improve handling of hardlinked ELF files when extracting dbgsyms using
build-ids. This patches does not cover manual dbg packages under
compat 8 or older.
Signed-off-by: Niels Thykier <niels@thykier.net>
-rwxr-xr-x | dh_strip | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -276,7 +276,8 @@ sub make_debug { } else { # Compat 9 OR a dbgsym package. - doit($objcopy, "--only-keep-debug", "--compress-debug-sections", $file, $debug_path); + doit($objcopy, "--only-keep-debug", "--compress-debug-sections", $file, $debug_path) + unless -e $debug_path; } # No reason for this to be executable. |