|
|
@@ -149,11 +149,15 @@ mkdir -p "$installDir/bin"
|
|
|
|
|
|
# Exclude `spl-token` binary for net.sh builds
|
|
|
if [[ -z "$validatorOnly" ]]; then
|
|
|
+ # shellcheck source=scripts/spl-token-cli-version.sh
|
|
|
+ source "$here"/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"' \
|
|
|
+ $maybeSplTokenCliVersionArg \
|
|
|
install --locked spl-token-cli --root "$installDir"
|
|
|
fi
|
|
|
)
|