From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B6E50138330 for ; Sat, 6 Jan 2018 11:17:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7D26E08C0; Sat, 6 Jan 2018 11:17:01 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6BBF0E08C0 for ; Sat, 6 Jan 2018 11:17:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 042A1335C07 for ; Sat, 6 Jan 2018 11:17:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD449133 for ; Sat, 6 Jan 2018 11:16:58 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1515237407.b78bb2a296ce8ee5944199027f7258a705229f7e.ulm@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: find-binary-files.sh X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: b78bb2a296ce8ee5944199027f7258a705229f7e X-VCS-Branch: master Date: Sat, 6 Jan 2018 11:16:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fa97be10-3042-4bcb-8a51-85f2d199439e X-Archives-Hash: bc4303c37fe2f60fa8f88a31af759f38 commit: b78bb2a296ce8ee5944199027f7258a705229f7e Author: Ulrich Müller gentoo org> AuthorDate: Sat Jan 6 11:16:47 2018 +0000 Commit: Ulrich Müller gentoo 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 @@ -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##*:*( )}