debug link
authorAnas Nashif <anas.nashif@intel.com>
Thu, 11 Oct 2012 22:43:32 +0000 (15:43 -0700)
committerAnas Nashif <anas.nashif@intel.com>
Sun, 3 Feb 2013 00:44:15 +0000 (16:44 -0800)
scripts/find-debuginfo.sh

index a428582..82dd150 100644 (file)
@@ -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}