From bf89d83b3bacce4ebf51436ba8f8d5b3348383e6 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 30 Jul 2022 23:10:30 -0500 Subject: [PATCH] Revert "fix: set pathing before toolchain" This reverts commit c4fdbe1176b96f854609455336fa17dc24176b8f. --- install.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.bash b/install.bash index 5fa0694..bfd7619 100644 --- a/install.bash +++ b/install.bash @@ -97,7 +97,6 @@ install-rust() { if ! [[ -e "${CARGO_HOME}" ]] || ! [[ -e "${RUSTUP_HOME}" ]]; then log "info" "Rust installs set to ${GREEN}cargo${RESET_BOLD}: ${GREEN}${CARGO_HOME}${RESET_BOLD} & ${GREEN}rustup${RESET_BOLD}: ${GREEN}${RUSTUP_HOME}${RESET_BOLD}" curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --quiet - export PATH="${PATH}:${install_path}/cargo/bin" if [[ -z "$(ls "${RUSTUP_HOME}/toolchains" >/dev/null)" ]]; then log "info" "No toolchain found, installing a ${GREEN}Rust${RESET_BOLD} toolchain" log "info" "Setting ${GREEN}Rust${RESET_BOLD}'s toolchain to ${GREEN}stable${RESET_BOLD}" @@ -111,6 +110,7 @@ install-rust() { else log "info" "${GREEN}Rust${RESET_BOLD} already installed, skipping" fi + export PATH="${PATH}:${install_path}/cargo/bin" }