aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-08-10 22:24:25 -0500
committerJack Nagel2014-08-10 22:24:56 -0500
commitc77ad80f623681afd5fe6087b019316839d9755f (patch)
tree5a817238d96339016832b00c0f87901beabde570 /Library/Homebrew
parent52789374ddf73def688825dc22679de09af7d7b5 (diff)
downloadhomebrew-c77ad80f623681afd5fe6087b019316839d9755f.tar.bz2
options.each only yields one argument to the block
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/formula_installer.rb2
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