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

(cherry picked from commit c696944d36)

Co-authored-by: Will Hickey <will.hickey@solana.com>
This commit is contained in:
mergify[bot]
2022-02-18 05:12:51 +00:00
committed by GitHub
parent 02f8651a9c
commit b2b92d7f5c

View File

@ -133,7 +133,7 @@ mkdir -p "$installDir/bin"
# Exclude `spl-token` binary for net.sh builds
if [[ -z "$validatorOnly" ]]; then
# 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
)