mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03: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,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