diff options
| author | Jack Nagel | 2012-02-19 20:31:25 -0600 | 
|---|---|---|
| committer | Jack Nagel | 2012-02-19 20:32:06 -0600 | 
| commit | 6af4cc9f27c4b4cb024acfe895c3ebfcac46d993 (patch) | |
| tree | 6138606235682438e71cb8c6df8305340ee553f3 /Library/Homebrew/cmd/--env.rb | |
| parent | a23357372e6498a3a6d74382237ca1b3495c3cce (diff) | |
| download | brew-6af4cc9f27c4b4cb024acfe895c3ebfcac46d993.tar.bz2 | |
brew --env: fix path to xcrun
Fixes Homebrew/homebrew#10327.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd/--env.rb')
| -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}"  | 
