File tree Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Expand file tree Collapse file tree 2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: 694500b07d185f94dbaa47949ac664f55fd2e48b
2
+ refs/heads/master: f86737973ac65a5c9d6c60d74acccfcfe0175fb4
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: cafe2966770ff377aad6dd9fd808e68055587c58
5
5
refs/heads/try: 0f0d21c1eb5c7be04d323e0b06faf252ad790af6
Original file line number Diff line number Diff line change @@ -418,10 +418,8 @@ CARGO_LOCAL_INSTALL_SCRIPT="${CARGO_LOCAL_INSTALL_DIR}/install.sh"
418
418
419
419
# Fetch the package.
420
420
download_package () {
421
- remote_url=" $1 "
422
- tarball_name=" $2 "
423
- remote_tarball=" ${remote_url} /${tarball_name} "
424
- local_tarball=" ${CFG_TMP_DIR} /${tarball_name} "
421
+ remote_tarball=" $1 "
422
+ local_tarball=" $2 "
425
423
426
424
msg " Downloading ${remote_tarball} to ${local_tarball} "
427
425
@@ -469,14 +467,17 @@ install_packages() {
469
467
mkdir -p " ${CFG_TMP_DIR} "
470
468
need_ok " failed to create create temporary installation directory"
471
469
470
+ RUST_LOCAL_TARBALL=" ${CFG_TMP_DIR} /${RUST_TARBALL_NAME} "
471
+ CARGO_LOCAL_TARBALL=" ${CFG_TMP_DIR} /${CARGO_TARBALL_NAME} "
472
+
472
473
download_package \
473
- " ${RUST_URL} " \
474
- " ${RUST_TARBALL_NAME } "
474
+ " ${RUST_URL} / ${RUST_TARBALL_NAME} " \
475
+ " ${RUST_LOCAL_TARBALL } "
475
476
476
477
if [ -z " ${CFG_DISABLE_CARGO} " ]; then
477
478
download_package \
478
- " ${CARGO_URL} " \
479
- " ${CARGO_TARBALL_NAME } "
479
+ " ${CARGO_URL} / ${CARGO_TARBALL_NAME} " \
480
+ " ${CARGO_LOCAL_TARBALL } "
480
481
fi
481
482
482
483
install_package \
You can’t perform that action at this time.
0 commit comments