aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2014-08-24 00:05:47 +0200
committerUlrich Müller <ulm@gentoo.org>2014-08-24 00:05:47 +0200
commit2b7a91d4d00e483594b9b2561ba97ec131d036ae (patch)
tree1fcc27c03bbc67e5d1ed3783848562eef4da2e03 /find-binary-files.sh
parentReplace the call of "portageq portdir" with "portageq get_repo_path / gentoo". (diff)
downloadqa-scripts-2b7a91d4d00e483594b9b2561ba97ec131d036ae.tar.gz
qa-scripts-2b7a91d4d00e483594b9b2561ba97ec131d036ae.tar.bz2
qa-scripts-2b7a91d4d00e483594b9b2561ba97ec131d036ae.zip
find-binary-files.sh: Remove false positives for GNU Info files.
Diffstat (limited to 'find-binary-files.sh')
-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 791649e..ccff2d6 100755
--- a/find-binary-files.sh
+++ b/find-binary-files.sh
@@ -15,7 +15,8 @@ find . \( -path ./distfiles -o -path ./local -o -path ./metadata \
path=${line%:*}
type=${line##*:*( )}
case ${type} in
- "application/octet-stream; charset=unknown" \
+ "application/octet-stream; charset=binary" \
+ | "application/octet-stream; charset=unknown" \
| "binary; charset=binary")
# GNU Info files (or patches to them) can contain the following
# control characters that produce false positives: