dev: source cargo env files to find rustup

Signed-off-by: Emmanuel Roullit <emmanuel.roullit@gmail.com>
This commit is contained in:
Emmanuel Roullit 2022-12-01 14:30:03 +01:00
parent f94f365e14
commit 4972bede48
1 changed files with 3 additions and 0 deletions

View File

@ -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