From f227695465b5615fc9ca52fa138f9c9edb451856 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 7 Feb 2013 13:33:03 -0600 Subject: [PATCH] superenv bin directory is under HOMEBREW_REPOSITORY --- Library/Homebrew/macos.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/macos.rb b/Library/Homebrew/macos.rb index 87034f86d3..c33be688c6 100644 --- a/Library/Homebrew/macos.rb +++ b/Library/Homebrew/macos.rb @@ -39,7 +39,7 @@ module MacOS extend self xcrun_path = unless Xcode.bad_xcode_select_path? path = `/usr/bin/xcrun -find #{tool} 2>/dev/null`.chomp # If xcrun finds a superenv tool then discard the result. - path unless path.include?(HOMEBREW_PREFIX/"Library/ENV") + path unless path.include?(HOMEBREW_REPOSITORY/"Library/ENV") end paths = %W[#{xcrun_path}