mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 14:02:22 -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
|
#!/bin/bash
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y
|
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
|
rustup install stable
|
||||||
bash install.sh
|
bash install.sh
|
||||||
|
|
Loading…
Reference in a new issue