ssh-permit-a38: add --locked flag to cargo install

Closes #46162.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Rui Chen 2019-11-02 20:46:40 -04:00 committed by FX Coudert
parent f9b2f083db
commit ca3b42673e

View file

@ -22,7 +22,7 @@ class SshPermitA38 < Formula
# https://crates.io/crates/openssl#manual-configuration
ENV["OPENSSL_DIR"] = Formula["openssl@1.1"].opt_prefix
system "cargo", "install", "--root", prefix, "--path", "."
system "cargo", "install", "--locked", "--root", prefix, "--path", "."
end
test do