aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-08-29 19:03:35 -0500
committerJack Nagel2013-08-29 19:08:22 -0500
commitd61d054eac964d1a8e4b94904a3692da1f944101 (patch)
treec9b7be1dd4987e93754d254294476ad41cc8d90c /Library
parentb3f0b9f7b9af7a320cb7055c36bb1e0b50603afb (diff)
downloadbrew-d61d054eac964d1a8e4b94904a3692da1f944101.tar.bz2
superenv: fix no-op system path filtering
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 9a3f81e60..597b75d33 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -180,7 +180,7 @@ class Cmd
# We reject brew's lib as we explicitly add this as a -L flag, thus it
# is given higher priority by cc, so it surpasses the system libpath.
# NOTE this only counts if Homebrew is installed at /usr/local
- syspath.map{|d| "#{d}/lib" }.reject{ "#$brewfix/lib" }
+ syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#$brewfix/lib" }
end
def syscpath
isystem, _ = cpath