diff options
author | Ulrich Müller <ulm@gentoo.org> | 2018-01-06 12:16:47 +0100 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2018-01-06 12:16:47 +0100 |
commit | b78bb2a296ce8ee5944199027f7258a705229f7e (patch) | |
tree | 0a9bdd896e466adf803c5bd7e809847588c0408d /find-binary-files.sh | |
parent | pkgcheck2html: Sync config (diff) | |
download | qa-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-x | find-binary-files.sh | 4 |
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##*:*( )} |