a3e525c3c8
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=15e4b56637cb8eb79bcd6c523613409f
23 lines
577 B
Diff
23 lines
577 B
Diff
Index: scripts/find-debuginfo.sh
|
|
===================================================================
|
|
--- scripts/find-debuginfo.sh.orig
|
|
+++ scripts/find-debuginfo.sh
|
|
@@ -210,6 +210,17 @@ while read nlinks inum f; do
|
|
;;
|
|
*) continue ;;
|
|
esac
|
|
+ # double check that we really have an ELF file,
|
|
+ # to handle monodevelop-debugger-gdb and monodevelop-debugger-mdb
|
|
+ ftype=`/usr/bin/file $f | cut -d: -f2-`
|
|
+ case $ftype in
|
|
+ *ELF*) ;;
|
|
+ *)
|
|
+ echo "$f is not an ELF file, skipping"
|
|
+ continue
|
|
+ ;;
|
|
+ esac
|
|
+
|
|
get_debugfn "$f"
|
|
[ -f "${debugfn}" ] && continue
|
|
|