diff options
| author | Jack Nagel | 2014-06-22 18:43:01 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-22 18:43:14 -0500 |
| commit | 20d544085ae85853d7f9c12b03737b4d6abb3a7f (patch) | |
| tree | 2dc4171321e2150ab20a5f5ec4c01d2b0c20ee59 /Library | |
| parent | 0fda322e0ee3b34e71a2aeb73d67191261580390 (diff) | |
| download | brew-20d544085ae85853d7f9c12b03737b4d6abb3a7f.tar.bz2 | |
Use a more descriptive variable name
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/extend/ENV/shared.rb | 6 |
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 |
