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 DFE821382C5 for ; Mon, 19 Mar 2018 22:29:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B37E5E09B4; Mon, 19 Mar 2018 22:29:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 89F98E09B4 for ; Mon, 19 Mar 2018 22:29:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 25481335C09 for ; Mon, 19 Mar 2018 22:29:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E220D244 for ; Mon, 19 Mar 2018 22:29:29 +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: <1521498529.d02922ea9d5ba04f70d116d0111cdaac85121626.ulm@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: eapi_usage.sh X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: d02922ea9d5ba04f70d116d0111cdaac85121626 X-VCS-Branch: master Date: Mon, 19 Mar 2018 22:29:29 +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: 7e3c5842-cdbc-492b-9e64-db60da489597 X-Archives-Hash: 95f0f9ebb7258e01e99a82962a11d767 commit: d02922ea9d5ba04f70d116d0111cdaac85121626 Author: Ulrich Müller gentoo org> AuthorDate: Mon Mar 19 22:28:49 2018 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Mar 19 22:28:49 2018 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=d02922ea eapi_usage.sh: Delete unused variable. eapi_usage.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/eapi_usage.sh b/eapi_usage.sh index fd5df9d..9ed0819 100755 --- a/eapi_usage.sh +++ b/eapi_usage.sh @@ -9,8 +9,7 @@ find /usr/portage/metadata/md5-cache -type f \ ! -name '*.gz' ! -name 'Manifest*' -exec awk ' - BEGINFILE { found=0 } - /^EAPI=/ { sub("EAPI=",""); eapi[$1]++; found=1; nextfile } + /^EAPI=/ { sub("EAPI=",""); eapi[$1]++; nextfile } END { for (i in eapi) print i,eapi[i] } ' '{}' '+' | awk ' { eapi[$1]+=$2; total+=$2 }