diff options
| author | Jack Nagel | 2012-02-19 20:31:25 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-02-19 20:32:06 -0600 |
| commit | 18672b95bb90f8acedabf3e46525440a19363083 (patch) | |
| tree | c4dd34ea978e55ffe4e78f8fb379547c25f2eaaf /Library/Homebrew/cmd | |
| parent | 15e7a25f93dbc5ca41ec8c30073451ff11dd3727 (diff) | |
| download | homebrew-18672b95bb90f8acedabf3e46525440a19363083.tar.bz2 | |
brew --env: fix path to xcrun
Fixes #10327.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/--env.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/--env.rb b/Library/Homebrew/cmd/--env.rb index f4baefdab..d020ac0ac 100644 --- a/Library/Homebrew/cmd/--env.rb +++ b/Library/Homebrew/cmd/--env.rb @@ -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}" |
