summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Johannes Nixdorf <mixi@exherbo.org> 2017-09-04 23:10:46 +0200
committerAvatar Johannes Nixdorf <mixi@exherbo.org> 2017-09-08 11:38:27 +0200
commitaea1405d111bec86b84a026f3cc140c05b10c77e (patch)
tree0c998e0a55ce165ae4df7ffb0e778acec0f27f2f
parent3f27bfdbe0404f6d7a017ae297761ef4c173daef (diff)
downloadrust-aea1405d111bec86b84a026f3cc140c05b10c77e.tar.gz
rust-aea1405d111bec86b84a026f3cc140c05b10c77e.tar.xz
rust-build.exlib: fix missed ${IMAGE}
Yes, this seems to work if rust is already installed. But it will fail miserably on new installations.
-rw-r--r--packages/dev-lang/rust/rust-build.exlib2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/dev-lang/rust/rust-build.exlib b/packages/dev-lang/rust/rust-build.exlib
index edb5e38..68d4248 100644
--- a/packages/dev-lang/rust/rust-build.exlib
+++ b/packages/dev-lang/rust/rust-build.exlib
@@ -265,7 +265,7 @@ rust-build_src_install() {
local dir
local f
- edo pushd "${rustlibdir}"
+ edo pushd "${IMAGE}${rustlibdir}"
for f in "${rustlib_alt_files[@]}" manifest-*; do
alternatives+=( "${rustlibdir}/${f}" $(basename ${f} | sed -re 's/^([^-]*)(-?.*)$/\1-'${SLOT}'\2/') )
done