aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2018-01-06 12:16:47 +0100
committerUlrich Müller <ulm@gentoo.org>2018-01-06 12:16:47 +0100
commitb78bb2a296ce8ee5944199027f7258a705229f7e (patch)
tree0a9bdd896e466adf803c5bd7e809847588c0408d /find-binary-files.sh
parentpkgcheck2html: Sync config (diff)
downloadqa-scripts-b78bb2a296ce8ee5944199027f7258a705229f7e.tar.gz
qa-scripts-b78bb2a296ce8ee5944199027f7258a705229f7e.tar.bz2
qa-scripts-b78bb2a296ce8ee5944199027f7258a705229f7e.zip
find-binary-files.sh: Account for gzipped Manifest files.
Diffstat (limited to 'find-binary-files.sh')
-rwxr-xr-xfind-binary-files.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/find-binary-files.sh b/find-binary-files.sh
index a3b1415..6714422 100755
--- a/find-binary-files.sh
+++ b/find-binary-files.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright 2014-2017 Gentoo Foundation
+# Copyright 2014-2018 Gentoo Foundation
# Distributed under the terms of the GNU GPL version 2 or later
# Author: Ulrich Müller <ulm@gentoo.org>
@@ -10,7 +10,7 @@ cd "${portdir}" || exit 1
find . \( -path ./distfiles -o -path ./local -o -path ./metadata \
-o -path ./packages \) -prune \
- -o ! -type d -exec file -ih '{}' + \
+ -o ! -type d ! \( -type f -name 'Manifest*.gz' \) -exec file -ih '{}' + \
| while read line; do
path=${line%:*}
type=${line##*:*( )}