Skip to content
This repository was archived by the owner on Aug 17, 2020. It is now read-only.

Commit 30fa4ee

Browse files
committed
Auto merge of #17 - thisishugo:patch-1, r=Hoverbear
remove $HOME hack and set multirust folder the 'correct' way Multirust does, in fact, have a way to set its home dir, as [specified here](https://github.com/brson/multirust/blob/f3974f2b966476ad656afba311b50a9c23fe6d2e/src/multirust#L284)
2 parents c7b5872 + 88f138b commit 30fa4ee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/compile

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ else
4444
fi
4545
export PATH="$PATH:$CACHE_DIR/multirust/bin"
4646

47-
# Hack because there seems to be no way to change where `multirust` places it's `.multirust` dir. :(
48-
export HOME="$CACHE_DIR"
47+
# Change where `multirust` places it's `.multirust` dir from the default `$HOME/.multirust`
48+
export MULTIRUST_HOME="$CACHE_DIR/.multirust"
4949

5050
# Use Multirust
5151
MULTIRUST_VERION="$(cat $BUILD_DIR/Cargo.toml | grep -ohzP "(?<=\[target.heroku\])[^\[]*" | grep -ohzP "(?<=version = \")[^\"]*")" || true

0 commit comments

Comments
 (0)