8000 Switch rust-lang.org URLs to HTTPS · javanile/r@3fd09e8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3fd09e8

Browse files
committed
Switch rust-lang.org URLs to HTTPS
1 parent a110d5b commit 3fd09e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rsvm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ rsvm_ls_remote()
299299
fi
300300

301301
STABLE_VERSION=$(rsvm_ls_channel stable)
302-
rsvm_file_download http://static.rust-lang.org/dist/index.txt "$RSVM_DIR/cache/index.txt"
302+
rsvm_file_download https://static.rust-lang.org/dist/index.txt "$RSVM_DIR/cache/index.txt"
303303
VERSIONS=$(cat "$RSVM_DIR/cache/index.txt" \
304304
| command egrep -o "^/dist/rust-$RSVM_NORMAL_PATTERN-$RSVM_PLATFORM.tar.gz" \
305305
| command egrep -o "$RSVM_VERSION_PATTERN" \
@@ -333,15 +333,15 @@ rsvm_ls_channel()
333333
case $1 in
334334
staging|rc)
335335
POSTFIX='-rc'
336-
rsvm_file_download http://static.rust-lang.org/dist/staging/dist/channel-rust-stable "$RSVM_DIR/cache/channel-rust-staging"
336+
rsvm_file_download https://static.rust-lang.org/dist/staging/dist/channel-rust-stable "$RSVM_DIR/cache/channel-rust-staging"
337337
VERSIONS=$(cat "$RSVM_DIR/cache/channel-rust-staging" \
338338
| command egrep -o "rust-$RSVM_VERSION_PATTERN-$RSVM_PLATFORM.tar.gz" \
339339
| command egrep -o "$RSVM_VERSION_PATTERN" \
340340
| command sort \
341341
| command uniq)
342342
;;
343343
stable|beta|nightly)
344-
rsvm_file_download http://static.rust-lang.org/dist/channel-rust-$1 "$RSVM_DIR/cache/channel-rust-$1"
344+
rsvm_file_download https://static.rust-lang.org/dist/channel-rust-$1 "$RSVM_DIR/cache/channel-rust-$1"
345345
VERSIONS=$(cat "$RSVM_DIR/cache/channel-rust-$1" \
346346
| command egrep -o "rust-$RSVM_VERSION_PATTERN-$RSVM_PLATFORM.tar.gz" \
347347
| command egrep -o "$RSVM_VERSION_PATTERN" \

0 commit comments

Comments
 (0)
0