summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2019-02-11 00:02:43 +0100
committerPatrice Clement <monsieurp@gentoo.org>2019-02-11 00:04:09 +0100
commit7052f3bab2abeb620733fff21b2809429bacc554 (patch)
tree27d2fdaf8608ad1ddc6189ee3aefda8bb053ecaa
parentemerge: add support for sets completion. (diff)
downloadgentoo-bashcomp-7052f3bab2abeb620733fff21b2809429bacc554.tar.gz
gentoo-bashcomp-7052f3bab2abeb620733fff21b2809429bacc554.tar.bz2
gentoo-bashcomp-7052f3bab2abeb620733fff21b2809429bacc554.zip
fix repos.conf files pattern matching.gentoo-bashcomp-20190211
Courtesy of Duncan <1i5t5.duncan@cox.net>. Closes: https://bugs.gentoo.org/562626 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
-rw-r--r--helpers/gentoo-common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/gentoo-common.sh b/helpers/gentoo-common.sh
index c0be688..6e8d51c 100644
--- a/helpers/gentoo-common.sh
+++ b/helpers/gentoo-common.sh
@@ -65,7 +65,7 @@ _parsereposconf() {
for f in @GENTOO_PORTAGE_EPREFIX@/usr/share/portage/config/repos.conf \
@GENTOO_PORTAGE_EPREFIX@/etc/portage/repos.conf \
- @GENTOO_PORTAGE_EPREFIX@/etc/portage/repos.conf/*.conf; do
+ @GENTOO_PORTAGE_EPREFIX@/etc/portage/repos.conf/*; do
[[ -f ${f} ]] || continue
insection=0