From 16c073a1531057c7f8244a2694d0923986b79d74 Mon Sep 17 00:00:00 2001 From: Jack Nagel <jacknagel@gmail.com> Date: Sun, 18 May 2014 14:40:44 -0500 Subject: [PATCH] Remove hardcoded reference to ENV --- Library/Homebrew/extend/ENV/shared.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb index c258e9f34f..eb87efc9e2 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 -- GitLab