commit:     a23d8d24d29f483c4f0bc8a9315523d90149bc95
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 08:32:14 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 08:32:14 2019 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=a23d8d24

find-binary-files.sh: Avoid false positives for image/svg.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 find-binary-files.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/find-binary-files.sh b/find-binary-files.sh
index 6714422..2c08ca8 100755
--- a/find-binary-files.sh
+++ b/find-binary-files.sh
@@ -1,5 +1,5 @@
 #!/bin/bash
-# Copyright 2014-2018 Gentoo Foundation
+# Copyright 2014-2019 Ulrich Müller
 # Distributed under the terms of the GNU GPL version 2 or later
 # Author: Ulrich Müller <u...@gentoo.org>
 
@@ -32,6 +32,7 @@ find . \( -path ./distfiles -o -path ./local -o -path 
./metadata \
         text/*) ;;                            # text file
         application/*"; charset=us-ascii") ;;
         application/*"; charset=utf-8") ;;
+        "image/svg; charset=us-ascii") ;;     # SVG image
         "image/svg+xml; charset=us-ascii") ;; # SVG image
         "image/x-xpmi; charset=us-ascii") ;;  # XPM image
         "message/rfc822; charset=us-ascii") ;;

Reply via email to