pull, pr-pull: use opt_or_installed_prefix_keg
This commit is contained in:
parent
49fa3cc75d
commit
3d62ed7853
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user