diff options
author | Sam James <sam@gentoo.org> | 2024-02-21 07:27:11 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-02-21 07:27:11 +0000 |
commit | c9cef9f13fe0ab333c9348f4198cf1cee81d18ec (patch) | |
tree | bf389bcd3b1dee0d0d0d701d5be8144fd8a281c6 | |
parent | completions/emerge: add --with-test-deps (diff) | |
download | gentoo-bashcomp-c9cef9f13fe0ab333c9348f4198cf1cee81d18ec.tar.gz gentoo-bashcomp-c9cef9f13fe0ab333c9348f4198cf1cee81d18ec.tar.bz2 gentoo-bashcomp-c9cef9f13fe0ab333c9348f4198cf1cee81d18ec.zip |
helpers/gentoo-common.sh: fix whitespace
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | helpers/gentoo-common.sh | 10 |
1 files 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 |