commit:     7052f3bab2abeb620733fff21b2809429bacc554
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 10 23:02:43 2019 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Feb 10 23:04:09 2019 +0000
URL:        
https://gitweb.gentoo.org/proj/gentoo-bashcomp.git/commit/?id=7052f3ba

fix repos.conf files pattern matching.

Courtesy of Duncan <1i5t5.duncan <AT> cox.net>.

Closes: https://bugs.gentoo.org/562626
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 helpers/gentoo-common.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

Reply via email to