superenv bin directory is under HOMEBREW_REPOSITORY

This commit is contained in:
Jack Nagel 2013-02-07 13:33:03 -06:00
parent ef6d01fc8f
commit f227695465

View File

@ -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}