aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/macos.rb2
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}