aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorJack Nagel2014-06-22 18:43:01 -0500
committerJack Nagel2014-06-22 18:43:14 -0500
commit6cea6b35340b8aa442a93f2fcd7cff7ced966bdc (patch)
tree5263d95bab9f60661bf3745141d8dc2a4e3e44e8 /Library/Homebrew/extend
parent79d469b8d0503d3c95c09ba287694eccd7d1bfe5 (diff)
downloadhomebrew-6cea6b35340b8aa442a93f2fcd7cff7ced966bdc.tar.bz2
Use a more descriptive variable name
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/ENV/shared.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb
index 57efff8fa..8208d185d 100644
--- a/Library/Homebrew/extend/ENV/shared.rb
+++ b/Library/Homebrew/extend/ENV/shared.rb
@@ -115,9 +115,9 @@ module SharedEnvExtension
COMPILER_SYMBOL_MAP.invert.fetch(compiler, compiler)
end
- COMPILERS.each do |x|
- define_method x do
- @compiler = x
+ COMPILERS.each do |compiler|
+ define_method(compiler) do
+ @compiler = compiler
self.cc = determine_cc
self.cxx = determine_cxx
end