diff options
| author | Mike McQuaid | 2013-02-28 20:50:08 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2013-02-28 20:53:38 +0000 |
| commit | e26b70b6f27c74b85b7bc065f67af22b15793ff8 (patch) | |
| tree | 07687698cba10d7c0777ad4afc2c3fbe6b54f722 /Library | |
| parent | f0d762562ada243728ef291981e82a142b708e5e (diff) | |
| download | homebrew-e26b70b6f27c74b85b7bc065f67af22b15793ff8.tar.bz2 | |
Exclude all located superenv paths.
The previous fix only looked at the current Homebrew but we should
discard hits from other installations of Homebrew too.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/macos.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/macos.rb b/Library/Homebrew/macos.rb index c01b30981..14715499f 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_REPOSITORY/"Library/ENV") + path unless path.include?("Library/ENV") end paths = %W[#{xcrun_path} |
