aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/--env.rb
diff options
context:
space:
mode:
authorJack Nagel2012-02-19 20:31:25 -0600
committerJack Nagel2012-02-19 20:32:06 -0600
commit6af4cc9f27c4b4cb024acfe895c3ebfcac46d993 (patch)
tree6138606235682438e71cb8c6df8305340ee553f3 /Library/Homebrew/cmd/--env.rb
parenta23357372e6498a3a6d74382237ca1b3495c3cce (diff)
downloadbrew-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.rb2
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}"