Panu Matilainen 97c9cc
commit 81660b26bc8e2c03f55cf928955f7ed84e00785a
Panu Matilainen 97c9cc
Author: Panu Matilainen <pmatilai@redhat.com>
Panu Matilainen 97c9cc
Date:   Fri Oct 31 10:17:07 2008 +0200
Panu Matilainen 97c9cc
Panu Matilainen 97c9cc
    Adjust for file output change (rhbz#468129)
Panu Matilainen 97c9cc
    - file util used reported file details along with mime type, newer ones don't
Panu Matilainen 97c9cc
Panu Matilainen 97c9cc
diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
Panu Matilainen 97c9cc
index 287c512..21366bf 100644
Panu Matilainen 97c9cc
--- a/scripts/find-debuginfo.sh
Panu Matilainen 97c9cc
+++ b/scripts/find-debuginfo.sh
Panu Matilainen 97c9cc
@@ -90,7 +90,7 @@ strip_to_debug()
Panu Matilainen 97c9cc
 {
Panu Matilainen 97c9cc
   local g=
Panu Matilainen 97c9cc
   $strip_g && case "$(file -bi "$2")" in
Panu Matilainen 97c9cc
-  application/x-sharedlib,*) g=-g ;;
Panu Matilainen 97c9cc
+  application/x-sharedlib*) g=-g ;;
Panu Matilainen 97c9cc
   esac
Panu Matilainen 97c9cc
   eu-strip --remove-comment $g -f "$1" "$2" || exit
Panu Matilainen 97c9cc
 }