commit: b78bb2a296ce8ee5944199027f7258a705229f7e Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Sat Jan 6 11:16:47 2018 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Sat Jan 6 11:16:47 2018 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=b78bb2a2
find-binary-files.sh: Account for gzipped Manifest files. find-binary-files.sh | 4 ++-- 1 file 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 <[email protected]> @@ -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##*:*( )}
