Adjust for file output change (rhbz#468129)
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 31 Oct 2008 08:17:07 +0000 (10:17 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 31 Oct 2008 08:17:07 +0000 (10:17 +0200)
- file util used reported file details along with mime type, newer ones don't

scripts/find-debuginfo.sh

index 287c512..21366bf 100644 (file)
@@ -90,7 +90,7 @@ strip_to_debug()
 {
   local g=
   $strip_g && case "$(file -bi "$2")" in
-  application/x-sharedlib,*) g=-g ;;
+  application/x-sharedlib*) g=-g ;;
   esac
   eu-strip --remove-comment $g -f "$1" "$2" || exit
 }