File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -625,6 +625,8 @@ if [[ "$INSTALL_BUILD_TOOLS" == "true" ]]; then
625625 # Any call to cargo will make rustup install the correct toolchain
626626 cargo version
627627
628+ CARGO_HOME=" ${CARGO_HOME:- ${HOME} / .cargo} "
629+
628630 # # install cargo-binstall
629631 curl -L --proto ' =https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
630632
@@ -633,9 +635,9 @@ if [[ "$INSTALL_BUILD_TOOLS" == "true" ]]; then
633635
634636 if [[ " $( uname) " == " Linux" ]]; then
635637 if [[ " $( uname -m) " == " x86_64" ]]; then
636- curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C " ${CARGO_HOME:- ~ / .cargo } /bin"
638+ curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C " ${CARGO_HOME} /bin"
637639 elif [[ " $( uname -m) " == " aarch64" ]]; then
638- curl -LsSf https://get.nexte.st/latest/linux-arm | tar zxf - -C " ${CARGO_HOME:- ~ / .cargo } /bin"
640+ curl -LsSf https://get.nexte.st/latest/linux-arm | tar zxf - -C " ${CARGO_HOME} /bin"
639641 fi
640642 elif [[ " $( uname) " == " Darwin" ]]; then
641643 brew install cargo-nextest
You can’t perform that action at this time.
0 commit comments