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

This commit is contained in:
Will Hickey 2022-02-17 22:09:29 -06:00 committed by GitHub
parent 5726f42a7c
commit c696944d36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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
)