brew --env: fix path to xcrun
Fixes Homebrew/homebrew#10327. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
a23357372e
commit
6af4cc9f27
@ -19,7 +19,7 @@ module Homebrew extend self
|
||||
if value
|
||||
results = value
|
||||
if value =~ /^[^\s]*xcrun (.*)/
|
||||
path = `#{MacOS.xcrun} -find #{$1}`
|
||||
path = `/usr/bin/xcrun -find #{$1}`
|
||||
results += " => #{path}"
|
||||
elsif File.exists? value and File.symlink? value
|
||||
results += " => #{Pathname.new(value).realpath}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user