Browse Source

Remove --locked for cli-arg based patch... (#31971)

Ryo Onodera 2 years ago
parent
commit
6b33ff8ae9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/cargo-install-all.sh

+ 2 - 2
scripts/cargo-install-all.sh

@@ -142,12 +142,12 @@ mkdir -p "$installDir/bin"
 
   # Exclude `spl-token` binary for net.sh builds
   if [[ -z "$validatorOnly" ]]; then
-    # the config is work around until we ship newer spl-token-cli...
+    # the config is work around and --locked is removed until we ship newer spl-token-cli...
     # 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="5980bbab2e0501a8100eb88c12222d664ccb3a0a"' \
-      install --locked spl-token-cli --root "$installDir"
+      install spl-token-cli --root "$installDir"
   fi
 )