--- 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 }