Skip to content
Snippets Groups Projects
Unverified Commit a48a8722 authored by Seeker's avatar Seeker Committed by GitHub
Browse files

Merge pull request #8525 from SeekingMeaning/cmd/installed_prefix

pull, pr-pull: use `opt_or_installed_prefix_keg`
parents 2a4c9f61 3d62ed78
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment