aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_installer.rb
diff options
context:
space:
mode:
authorJack Nagel2014-08-10 21:45:24 -0500
committerJack Nagel2014-08-10 21:45:24 -0500
commit52789374ddf73def688825dc22679de09af7d7b5 (patch)
tree51f100c39571c3b9a73cfef4290809c3f65292a7 /Library/Homebrew/formula_installer.rb
parente38cfd4f9843b7d355bf66b71d812093258478dd (diff)
downloadhomebrew-52789374ddf73def688825dc22679de09af7d7b5.tar.bz2
Disconnect defined options from the build object
Diffstat (limited to 'Library/Homebrew/formula_installer.rb')
-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 45c70e6ce..3c7dec8e5 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.build.each do |opt, _|
+ f.options.each do |opt, _|
name = opt.name[/\A(.+)=\z$/, 1]
value = ARGV.value(name)
args << "--#{name}=#{value}" if name && value