Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > main-updates-src > by-pkgid > 63b6a72ca38b682f1d7341402c68021a > files > 1

rpm-mandriva-setup-1.104-2.1mdv2010.2.src.rpm

--- find-debuginfo.sh~orig	2012-02-23 11:48:00.732425602 +0100
+++ find-debuginfo.sh	2012-02-23 12:06:29.541450433 +0100
@@ -100,6 +100,8 @@
   $strip_g && case "$(file -bi "$2")" in
   application/x-sharedlib*) g=-g ;;
   esac
+  [ -n "$EXCLUDE_FULL_REGEXP" ] && grep -E -q "$EXCLUDE_FULL_REGEXP" <<< "$2" && g=-g
+
   eu-strip --remove-comment $g $([ -n "$DISABLE_DEBUG" ] || echo -f "$1") "$2" || exit
   [ -n "$DISABLE_DEBUG" ] || chmod 444 "$1" || exit
 }