diff --git a/Library/Homebrew/cmd/--env.rb b/Library/Homebrew/cmd/--env.rb index f4baefdaba..d020ac0ac9 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}"