Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit e1d3b75

Browse files
committed
Download over HTTPS
1 parent 65dcf1a commit e1d3b75

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rustup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ msg "host triple: ${HOST_TRIPLE}"
390390
PACKAGE_NAME=rust-nightly
391391
PACKAGE_NAME_AND_TRIPLE="${PACKAGE_NAME}-${HOST_TRIPLE}"
392392
TARBALL_NAME="${PACKAGE_NAME_AND_TRIPLE}.tar.gz"
393-
REMOTE_TARBALL="http://static.rust-lang.org/dist/${TARBALL_NAME}"
393+
REMOTE_TARBALL="https://static.rust-lang.org/dist/${TARBALL_NAME}"
394394
TMP_DIR="./rustup-tmp-install"
395395
LOCAL_TARBALL="${TMP_DIR}/${TARBALL_NAME}"
396396
LOCAL_INSTALL_DIR="${TMP_DIR}/${PACKAGE_NAME_AND_TRIPLE}"
@@ -399,7 +399,7 @@ LOCAL_INSTALL_SCRIPT="${LOCAL_INSTALL_DIR}/install.sh"
399399
CARGO_PACKAGE_NAME=cargo-nightly
400400
CARGO_PACKAGE_NAME_AND_TRIPLE="${CARGO_PACKAGE_NAME}-${HOST_TRIPLE}"
401401
CARGO_TARBALL_NAME="${CARGO_PACKAGE_NAME_AND_TRIPLE}.tar.gz"
402-
CARGO_REMOTE_TARBALL="http://static.rust-lang.org/cargo-dist/${CARGO_TARBALL_NAME}"
402+
CARGO_REMOTE_TARBALL="https://static.rust-lang.org/cargo-dist/${CARGO_TARBALL_NAME}"
403403
CARGO_LOCAL_TARBALL="${TMP_DIR}/${CARGO_TARBALL_NAME}"
404404
CARGO_LOCAL_INSTALL_DIR="${TMP_DIR}/${CARGO_PACKAGE_NAME_AND_TRIPLE}"
405405
CARGO_LOCAL_INSTALL_SCRIPT="${CARGO_LOCAL_INSTALL_DIR}/install.sh"

0 commit comments

Comments
 (0)