Add --locked to spl-token-cli install (#23223) (#23224)

(cherry picked from commit c696944d36)

Co-authored-by: Will Hickey <will.hickey@solana.com>
This commit is contained in:
mergify[bot]
2022-02-17 22:32:43 -06:00
committed by GitHub
parent 9238cef204
commit 23af37fea3

View File

@ -132,7 +132,7 @@ mkdir -p "$installDir/bin"
# Exclude `spl-token` binary for net.sh builds # Exclude `spl-token` binary for net.sh builds
if [[ -z "$validatorOnly" ]]; then if [[ -z "$validatorOnly" ]]; then
# shellcheck disable=SC2086 # Don't want to double quote $rust_version # shellcheck disable=SC2086 # Don't want to double quote $rust_version
"$cargo" $maybeRustVersion install spl-token-cli --root "$installDir" "$cargo" $maybeRustVersion install --locked spl-token-cli --root "$installDir"
fi fi
) )