From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 6DAF51387AB for ; Sat, 8 Feb 2014 21:30:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ECF9FE09F4; Sat, 8 Feb 2014 21:30:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7FFBBE09F4 for ; Sat, 8 Feb 2014 21:30:26 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A48EC33F9ED for ; Sat, 8 Feb 2014 21:30:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id C68D518873 for ; Sat, 8 Feb 2014 21:30:22 +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: <1391895299.047e530f5fafc660274b762754663ceaf111df13.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: 047e530f5fafc660274b762754663ceaf111df13 X-VCS-Branch: master Date: Sat, 8 Feb 2014 21:30:22 +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: 888745bd-49a8-4990-a4d4-9da9c301a3b4 X-Archives-Hash: a80298320e18bd55f1be4e41048be775 commit: 047e530f5fafc660274b762754663ceaf111df13 Author: Ulrich Müller gentoo org> AuthorDate: Sat Feb 8 21:34:59 2014 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 8 21:34:59 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qa-scripts.git;a=commit;h=047e530f Also exclude ./packages from find. --- find-binary-files.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/find-binary-files.sh b/find-binary-files.sh index 17bdc0a..2bf73ab 100755 --- a/find-binary-files.sh +++ b/find-binary-files.sh @@ -8,7 +8,8 @@ shopt -s extglob portdir=$(portageq get_repo_path / gentoo) cd "${portdir}" || exit 1 -find . \( -path ./distfiles -o -path ./local -o -path ./metadata \) -prune \ +find . \( -path ./distfiles -o -path ./local -o -path ./metadata \ + -o -path ./packages \) -prune \ -o ! -type d -exec file -ih '{}' + \ | while read line; do path=${line%:*}