diff --git a/scripts/cargo-install-all.sh b/scripts/cargo-install-all.sh index 029b1fbf27943d..fd70b70f8035ec 100755 --- a/scripts/cargo-install-all.sh +++ b/scripts/cargo-install-all.sh @@ -153,12 +153,8 @@ mkdir -p "$installDir/bin" # shellcheck source=scripts/spl-token-cli-version.sh source "$SOLANA_ROOT"/scripts/spl-token-cli-version.sh - # the patch-related configs are needed for rust 1.69+ on Windows; see Cargo.toml - # shellcheck disable=SC2086 # Don't want to double quote $rust_version - "$cargo" $maybeRustVersion \ - --config 'patch.crates-io.ntapi.git="https://github.com/solana-labs/ntapi"' \ - --config 'patch.crates-io.ntapi.rev="97ede981a1777883ff86d142b75024b023f04fad"' \ - install --locked spl-token-cli --root "$installDir" $maybeSplTokenCliVersionArg + # shellcheck disable=SC2086 + "$cargo" $maybeRustVersion install --locked spl-token-cli --root "$installDir" $maybeSplTokenCliVersionArg fi )