From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoo-bashcomp:master commit in: helpers/
Date: Wed, 21 Feb 2024 07:34:40 +0000 (UTC) [thread overview]
Message-ID: <1708500431.c9cef9f13fe0ab333c9348f4198cf1cee81d18ec.sam@gentoo> (raw)
commit: c9cef9f13fe0ab333c9348f4198cf1cee81d18ec
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 21 07:27:11 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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
next reply other threads:[~2024-02-21 7:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 7:34 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-01-14 16:39 [gentoo-commits] proj/gentoo-bashcomp:master commit in: helpers/ Sam James
2023-01-14 16:39 Sam James
2021-11-16 16:08 Patrice Clement
2019-02-10 23:04 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1708500431.c9cef9f13fe0ab333c9348f4198cf1cee81d18ec.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox