commit:     18209a19fee456d23f6e97182b668fd3bf5c5d1b
Author:     Matt Jolly <kangie <AT> gentoo <DOT> org>
AuthorDate: Sat Nov  9 07:30:21 2024 +0000
Commit:     Matt Jolly <kangie <AT> gentoo <DOT> org>
CommitDate: Sat Nov  9 07:30:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18209a19

rust.eclass: add missing `/` in `get_rust_path` for `binary` builds.

Signed-off-by: Matt Jolly <kangie <AT> gentoo.org>

 eclass/rust.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/rust.eclass b/eclass/rust.eclass
index 12ef4b90a7ac..e91048a6f193 100644
--- a/eclass/rust.eclass
+++ b/eclass/rust.eclass
@@ -390,7 +390,7 @@ get_rust_path() {
        if [[ "${rust_type}" == "source" ]]; then
                echo "${prefix}/usr/lib/rust/${slot}/"
        else
-               echo "${prefix}opt/rust-bin-${slot}/"
+               echo "${prefix}/opt/rust-bin-${slot}/"
        fi
 }
 

Reply via email to