mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 23:04:17 -05:00
dev: source cargo env files to find rustup
Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
This commit is contained in:
parent
f94f365e14
commit
4972bede48
1 changed files with 3 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
|||
#!/bin/bash
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
|
||||
# Update current shell environment variables after install to find rustup
|
||||
. "$HOME/.cargo/env"
|
||||
rustup install stable
|
||||
bash install.sh
|
||||
|
|
Loading…
Reference in a new issue