From 6af4cc9f27c4b4cb024acfe895c3ebfcac46d993 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 19 Feb 2012 20:31:25 -0600 Subject: brew --env: fix path to xcrun Fixes Homebrew/homebrew#10327. Signed-off-by: Jack Nagel --- Library/Homebrew/cmd/--env.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" -- cgit v1.2.3