utils: extend brewed_curl recommended usage to 10.8
Closes Homebrew/homebrew#47646. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
821dbab5f8
commit
e7738d067f
@ -293,7 +293,7 @@ end
|
||||
|
||||
def curl(*args)
|
||||
brewed_curl = HOMEBREW_PREFIX/"opt/curl/bin/curl"
|
||||
curl = if MacOS.version <= "10.6" && brewed_curl.exist?
|
||||
curl = if MacOS.version <= "10.8" && brewed_curl.exist?
|
||||
brewed_curl
|
||||
else
|
||||
Pathname.new "/usr/bin/curl"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user