Skip to content

Commit

Permalink
update script.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
hackfisher committed Jul 8, 2019
1 parent 4a48121 commit 4ec2fbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set -eux

# Install rustup and the specified rust toolchain.
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$RUST_TOOLCHAIN -y
curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=$1 -y

# Load cargo environment. Specifically, put cargo into PATH.
source ~/.cargo/env
Expand All @@ -12,7 +12,7 @@ rustc --version
rustup --version
cargo --version

case $TARGET in
case $2 in
"native")
sudo apt-get -y update
sudo apt-get install -y cmake pkg-config libssl-dev
Expand Down

0 comments on commit 4ec2fbe

Please sign in to comment.