Merge pull request #8525 from SeekingMeaning/cmd/installed_prefix

pull, pr-pull: use `opt_or_installed_prefix_keg`
This commit is contained in:
Seeker 2020-08-31 09:45:54 -07:00 committed by GitHub
commit a48a8722fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ module Homebrew
else else
if gnupg.any_version_installed? if gnupg.any_version_installed?
path = PATH.new(ENV.fetch("PATH")) path = PATH.new(ENV.fetch("PATH"))
path.prepend(gnupg.installed_prefix/"bin") path.prepend(gnupg.opt_or_installed_prefix_keg/"bin")
ENV["PATH"] = path ENV["PATH"] = path
end end
end end

View File

@ -60,7 +60,7 @@ module Homebrew
else else
if gnupg.any_version_installed? if gnupg.any_version_installed?
path = PATH.new(ENV.fetch("PATH")) path = PATH.new(ENV.fetch("PATH"))
path.prepend(gnupg.installed_prefix/"bin") path.prepend(gnupg.opt_or_installed_prefix_keg/"bin")
ENV["PATH"] = path ENV["PATH"] = path
end end
end end