completions/portage: Follow symbolic links in repos.conf
Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run

Repository configuration files in the repos.conf/ directory may also be symbolic
links, so make sure to follow those.
This commit is contained in:
Wolfgang Müller 2024-10-03 18:25:12 +02:00 committed by Fabian Boehm
parent cd9e50c2cc
commit 38300a818e

View File

@ -3,7 +3,7 @@ function __fish_print_portage_repository_paths --description 'Print the paths of
set -l b
set -l c /usr/share/portage/config/repos.conf
test -d $a
and set b (find $a -type f 2>/dev/null)
and set b (path filter -f -- $a/**)
test -f $a
and set b $a
test -n "$b"