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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7CD9B158041 for ; Wed, 21 Feb 2024 07:34:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 410ACE2A1B; Wed, 21 Feb 2024 07:34:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 21167E2A17 for ; Wed, 21 Feb 2024 07:34:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1ACA8343187 for ; Wed, 21 Feb 2024 07:34:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 803EE1301 for ; Wed, 21 Feb 2024 07:34:40 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1708500431.c9cef9f13fe0ab333c9348f4198cf1cee81d18ec.sam@gentoo> Subject: [gentoo-commits] proj/gentoo-bashcomp:master commit in: helpers/ X-VCS-Repository: proj/gentoo-bashcomp X-VCS-Files: helpers/gentoo-common.sh X-VCS-Directories: helpers/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c9cef9f13fe0ab333c9348f4198cf1cee81d18ec X-VCS-Branch: master Date: Wed, 21 Feb 2024 07:34:40 +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: 0de2e810-2152-4170-8570-6ca9d5edb2aa X-Archives-Hash: d44e25b8b845b98344fefcba082e1af2 commit: c9cef9f13fe0ab333c9348f4198cf1cee81d18ec Author: Sam James gentoo org> AuthorDate: Wed Feb 21 07:27:11 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Feb 21 07:27:11 2024 +0000 URL: https://gitweb.gentoo.org/proj/gentoo-bashcomp.git/commit/?id=c9cef9f1 helpers/gentoo-common.sh: fix whitespace Signed-off-by: Sam James gentoo.org> helpers/gentoo-common.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/helpers/gentoo-common.sh b/helpers/gentoo-common.sh index 35b5946..f587be2 100644 --- a/helpers/gentoo-common.sh +++ b/helpers/gentoo-common.sh @@ -18,7 +18,7 @@ # for PORTDIR and PORTDIR_OVERLAY. While repos.conf overrides any value of # PORTDIR set in make.conf, PORTDIR_OVERLAY is incremental (combined across # available sources). -# +# # This would be a hell of a lot simpler if we used portageq, but also about # 500 times slower. _portdir() { @@ -32,7 +32,7 @@ _portdir() { source @GENTOO_PORTAGE_EPREFIX@/etc/make.conf 2>/dev/null source @GENTOO_PORTAGE_EPREFIX@/etc/portage/make.conf 2>/dev/null - + overlaypath+=(${PORTDIR_OVERLAY}) # strip out duplicates @@ -52,9 +52,9 @@ _portdir() { echo "${PORTDIR}" - if [[ ${1} == -o ]]; then + if [[ ${1} == -o ]]; then echo "${PORTDIR_OVERLAY}" - fi + fi fi } @@ -69,7 +69,7 @@ _parsereposconf() { [[ -f ${f} ]] || continue insection=0 - + while read -r line; do # skip comments and blank lines [[ -z ${line} || ${line} == '#'* ]] && continue