aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-06-04 19:13:04 +0200
committerUlrich Müller <ulm@gentoo.org>2017-06-04 19:13:04 +0200
commit30f6e1692d5182a8084e1a20054c5f61471574de (patch)
tree452e954dda3932c7c25e25f0673a81c012748aad
parentpkgcheck2html: Sync with upstream (diff)
downloadqa-scripts-30f6e169.tar.gz
qa-scripts-30f6e169.tar.bz2
qa-scripts-30f6e169.zip
find-binary-files.sh: Suppress false positives.
-rwxr-xr-xfind-binary-files.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/find-binary-files.sh b/find-binary-files.sh
index 367cc75..a3b1415 100755
--- a/find-binary-files.sh
+++ b/find-binary-files.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2014-2015 Gentoo Foundation
+# Copyright 2014-2017 Gentoo Foundation
# Distributed under the terms of the GNU GPL version 2 or later
# Author: Ulrich Müller <ulm@gentoo.org>
@@ -34,6 +34,7 @@ find . \( -path ./distfiles -o -path ./local -o -path ./metadata \
application/*"; charset=utf-8") ;;
"image/svg+xml; charset=us-ascii") ;; # SVG image
"image/x-xpmi; charset=us-ascii") ;; # XPM image
+ "message/rfc822; charset=us-ascii") ;;
*)
size=$(stat -c "%s" "${path}")
echo "${path#./}: ${type} (size=${size})"