summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-10-11 15:43:32 -0700
committerAnas Nashif <anas.nashif@intel.com>2013-02-02 16:44:15 -0800
commit050767f235b7c5790975f7156be561da8abe299d (patch)
tree3e29b958cffeebdc6507501c59254a296aa8a02f /scripts
parent60a7baa20753d2be16fe39fbf5e49e4c8a7fcfcc (diff)
downloadlibrpm-tizen-050767f235b7c5790975f7156be561da8abe299d.tar.gz
librpm-tizen-050767f235b7c5790975f7156be561da8abe299d.tar.bz2
librpm-tizen-050767f235b7c5790975f7156be561da8abe299d.zip
debug link
Diffstat (limited to 'scripts')
-rw-r--r--scripts/find-debuginfo.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
index a42858203..82dd150f4 100644
--- a/scripts/find-debuginfo.sh
+++ b/scripts/find-debuginfo.sh
@@ -219,7 +219,8 @@ make_id_link()
get_debugfn()
{
dn=$(dirname "${1#$RPM_BUILD_ROOT}")
- bn=$(basename "$1" .debug).debug
+# Do not strip existing .debug suffixes
+ bn=$(basename "$1").debug
debugdn=${debugdir}${dn}
debugfn=${debugdn}/${bn}