diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | modules/profile.eselect | 5 |
2 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2024-11-13 Ulrich Müller <ulm@gentoo.org> + * modules/profile.eselect (get_repo_path): Prefix the portageq + output with ROOT. Bug 942970. + * modules/profile.eselect (get_symlink_location): Warn about deprecated /etc/make.profile location. diff --git a/modules/profile.eselect b/modules/profile.eselect index 8c74dd9..e6f34ac 100644 --- a/modules/profile.eselect +++ b/modules/profile.eselect @@ -40,7 +40,10 @@ get_repos() { # get paths for a given list of repositories get_repo_path() { - portageq get_repo_path "${EROOT:-/}" "$@" + local path + portageq get_repo_path "${EROOT:-/}" "$@" \ + | while read path; do printf "%s\n" "${ROOT}${path}"; done + [[ "${PIPESTATUS[*]}" = "0 0" ]] } # get a list of valid profiles |