From 88f138bc1f061a7c61ddad74fae95b90865faef5 Mon Sep 17 00:00:00 2001 From: Hugo Jobling Date: Wed, 6 Jan 2016 10:48:55 +0000 Subject: [PATCH] remove $HOME hack and set multirust folder the 'correct' way --- bin/compile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/compile b/bin/compile index 50b9ce7..8538f4a 100755 --- a/bin/compile +++ b/bin/compile @@ -44,8 +44,8 @@ else fi export PATH="$PATH:$CACHE_DIR/multirust/bin" -# Hack because there seems to be no way to change where `multirust` places it's `.multirust` dir. :( -export HOME="$CACHE_DIR" +# Change where `multirust` places it's `.multirust` dir from the default `$HOME/.multirust` +export MULTIRUST_HOME="$CACHE_DIR/.multirust" # Use Multirust MULTIRUST_VERION="$(cat $BUILD_DIR/Cargo.toml | grep -ohzP "(?<=\[target.heroku\])[^\[]*" | grep -ohzP "(?<=version = \")[^\"]*")" || true