pull, pr-pull: use opt_or_installed_prefix_keg

This commit is contained in:
Seeker 2020-08-28 09:59:07 -07:00
parent 49fa3cc75d
commit 3d62ed7853
2 changed files with 2 additions and 2 deletions

View File

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

View File

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