aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/software_spec.rb
diff options
context:
space:
mode:
authorJack Nagel2014-08-13 11:09:57 -0500
committerJack Nagel2014-08-13 11:09:57 -0500
commit04ba18eebf3bcd3572104daec9eb41358c0bce68 (patch)
tree096892cc7c530387124a8c65d692976eb6774658 /Library/Homebrew/software_spec.rb
parentf3bd86571f8ad419f8f0a6b1909b5b6322191a6f (diff)
downloadhomebrew-04ba18eebf3bcd3572104daec9eb41358c0bce68.tar.bz2
Always pass an Options instance to the BuildOptions constructor
Diffstat (limited to 'Library/Homebrew/software_spec.rb')
-rw-r--r--Library/Homebrew/software_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb
index c595a4596..e88975a73 100644
--- a/Library/Homebrew/software_spec.rb
+++ b/Library/Homebrew/software_spec.rb
@@ -34,7 +34,7 @@ class SoftwareSpec
@bottle_specification = BottleSpecification.new
@patches = []
@options = Options.new
- @build = BuildOptions.new(ARGV.options_only, options)
+ @build = BuildOptions.new(Options.coerce(ARGV.options_only), options)
end
def owner= owner