aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-05-18 14:40:44 -0500
committerJack Nagel2014-05-18 14:41:49 -0500
commit16c073a1531057c7f8244a2694d0923986b79d74 (patch)
tree0c236a1054de802158bc7d9e2cbfd2944f6f062d /Library/Homebrew
parent930cf4c768c017b25f3bee5d96cde4be384b74dc (diff)
downloadbrew-16c073a1531057c7f8244a2694d0923986b79d74.tar.bz2
Remove hardcoded reference to ENV
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/ENV/shared.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb
index c258e9f34..eb87efc9e 100644
--- a/Library/Homebrew/extend/ENV/shared.rb
+++ b/Library/Homebrew/extend/ENV/shared.rb
@@ -113,7 +113,7 @@ module SharedEnvExtension
# an alternate compiler, altering the value of environment variables.
# If no valid compiler is found, raises an exception.
def validate_cc!(formula)
- if formula.fails_with? ENV.compiler
+ if formula.fails_with? compiler
send CompilerSelector.new(formula).compiler
end
end