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

remove $HOME hack and set multirust folder the 'correct' way #17

Merged
merged 1 commit into from
Jan 11, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down