tfenv: install share directory for gpg verification

tfenv has logic for verifying the Terraform releases that it downloads
with gpg or gpgv. When gpgv is used, tfenv tries to verify the
download's signature based on a key for Hashicorp that is bundled with
the tfenv release in the `share` directory - but the homebrew formula is
not installing that directory.

Closes #42396.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
Matt Brown 2019-07-24 14:40:11 -04:00 committed by Chongyu Zhu
parent c52b21b165
commit 6f7be63a8a
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -10,7 +10,7 @@ class Tfenv < Formula
conflicts_with "terraform", :because => "tfenv symlinks terraform binaries"
def install
prefix.install ["bin", "libexec"]
prefix.install ["bin", "libexec", "share"]
end
test do