diff options
| author | Jack Nagel | 2014-08-10 22:24:25 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-10 22:24:56 -0500 |
| commit | 8beb85a7fc022723a39562d7ae7b4c4b62659eb5 (patch) | |
| tree | 606b006e452dc461c708bc7286db9a7d42cc29a2 /Library | |
| parent | 2f1d40a76437f94720c9969d11ff10555efc5809 (diff) | |
| download | brew-8beb85a7fc022723a39562d7ae7b4c4b62659eb5.tar.bz2 | |
options.each only yields one argument to the block
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 3c7dec8e5..9e26a78be 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -461,7 +461,7 @@ class FormulaInstaller when f.devel then args << "--devel" end - f.options.each do |opt, _| + f.options.each do |opt| name = opt.name[/\A(.+)=\z$/, 1] value = ARGV.value(name) args << "--#{name}=#{value}" if name && value |
