commit: 438a09957f5e4d6885fee7982814b2071282e861 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Dec 22 19:40:11 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Dec 22 19:40:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438a0995
rust.eclass: update get_rust_path for recent change Speculative fix based on description in bug. Closes: https://bugs.gentoo.org/946824 Fixes: d393753de4be9164251344e887e97adfcc0f0bce Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/rust.eclass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/eclass/rust.eclass b/eclass/rust.eclass index a7199f984af8..30b6468d2a9b 100644 --- a/eclass/rust.eclass +++ b/eclass/rust.eclass @@ -471,9 +471,8 @@ get_rust_prefix() { local prefix=${BROOT} [[ ${1} == -d ]] && prefix=${ESYSROOT} - local slot rust_type - read -r slot rust_type <<< $(_get_rust_slot "$@") - get_rust_path "${prefix}" "${slot}" "${rust_type}" + _get_rust_slot "$@" + get_rust_path "${prefix}" "${RUST_SLOT}" "${RUST_TYPE}" } # @FUNCTION: rust_prepend_path
