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 9266513835A for ; Fri, 26 Feb 2021 09:36:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B669FE087E; Fri, 26 Feb 2021 09:36:37 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 9EC31E087E for ; Fri, 26 Feb 2021 09:36:37 +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 A7BD4341030 for ; Fri, 26 Feb 2021 09:36:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 315B8C3 for ; Fri, 26 Feb 2021 09:36:35 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1614328943.0bbe090dda2c504177b9fe2e38c0db4f16e6d20e.slyfox@gentoo> Subject: [gentoo-commits] proj/gcc-config:master commit in: / X-VCS-Repository: proj/gcc-config X-VCS-Files: gcc-config X-VCS-Directories: / X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 0bbe090dda2c504177b9fe2e38c0db4f16e6d20e X-VCS-Branch: master Date: Fri, 26 Feb 2021 09:36:35 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e1722e21-2145-4dd1-8027-2fae3bf5e96e X-Archives-Hash: f2c82c3f5b5d8ce4994c839e059dad79 commit: 0bbe090dda2c504177b9fe2e38c0db4f16e6d20e Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Feb 26 08:42:23 2021 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Feb 26 08:42:23 2021 +0000 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=0bbe090d gcc-config: clarify comment around index number choice Signed-off-by: Sergei Trofimovich gentoo.org> gcc-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc-config b/gcc-config index eadea0b..1a58c56 100755 --- a/gcc-config +++ b/gcc-config @@ -1064,7 +1064,7 @@ for x in "$@" ; do fi if [[ -z $(echo ${x} | tr -d '[:digit:]') ]] ; then - # User gave us a # representing the profile + # User gave us a profile index number from '--list-profiles' i=1 for y in $(version_sorted_paths "${GCC_ENV_D}"/*) ; do [[ -f ${y} ]] || continue