Skip to content

Commit

Permalink
clean up rust install
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Sep 20, 2024
1 parent 5847808 commit b29af71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .evergreen/install-rust.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -ue
set -eu

SCRIPT_DIR=$(dirname ${BASH_SOURCE[0]})
. $SCRIPT_DIR/handle-paths.sh
Expand All @@ -17,7 +17,7 @@ if [ "Windows_NT" == "${OS:-}" ]; then
CARGO_HOME=$(cygpath ${CARGO_HOME} --windows)
fi

"$SCRIPT_DIR/retry-with-backoff.sh" curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path ${DEFAULT_HOST_OPTIONS:-}
curl --retry 8 https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path ${DEFAULT_HOST_OPTIONS:-}

if [ "Windows_NT" == "${OS:-}" ]; then
# This file is not created by default on Windows
Expand Down

0 comments on commit b29af71

Please sign in to comment.