summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-10-31 10:17:07 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-10-31 10:17:07 +0200
commit81660b26bc8e2c03f55cf928955f7ed84e00785a (patch)
treedad910c1a9262e4cbbec2f9104a475a4a96aa27d /scripts
parent05c547a30d966d03b9bda37343c7dcc3638b6be0 (diff)
downloadrpm-81660b26bc8e2c03f55cf928955f7ed84e00785a.tar.gz
rpm-81660b26bc8e2c03f55cf928955f7ed84e00785a.tar.bz2
rpm-81660b26bc8e2c03f55cf928955f7ed84e00785a.zip
Adjust for file output change (rhbz#468129)
- file util used reported file details along with mime type, newer ones don't
Diffstat (limited to 'scripts')
-rw-r--r--scripts/find-debuginfo.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/find-debuginfo.sh b/scripts/find-debuginfo.sh
index 287c51243..21366bfb6 100644
--- a/scripts/find-debuginfo.sh
+++ b/scripts/find-debuginfo.sh
@@ -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
}