summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Jolly <kangie@gentoo.org>2024-11-09 17:30:21 +1000
committerMatt Jolly <kangie@gentoo.org>2024-11-09 17:30:21 +1000
commit18209a19fee456d23f6e97182b668fd3bf5c5d1b (patch)
treeea559acca5115a964f915359b1bf7b8b449f1a55 /eclass/rust.eclass
parentmedia-libs/mesa: properly gate rust_pkg_setup (diff)
downloadgentoo-18209a19fee456d23f6e97182b668fd3bf5c5d1b.tar.gz
gentoo-18209a19fee456d23f6e97182b668fd3bf5c5d1b.tar.bz2
gentoo-18209a19fee456d23f6e97182b668fd3bf5c5d1b.zip
rust.eclass: add missing `/` in `get_rust_path` for `binary` builds.
Signed-off-by: Matt Jolly <kangie@gentoo.org>
Diffstat (limited to 'eclass/rust.eclass')
-rw-r--r--eclass/rust.eclass2
1 files changed, 1 insertions, 1 deletions
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
}