aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/software_spec.rb
diff options
context:
space:
mode:
authorJack Nagel2014-08-12 20:09:35 -0500
committerJack Nagel2014-08-12 20:09:35 -0500
commitecaf1592a095611f6f05e307454df82d4442eef2 (patch)
tree37da461e2fbea644a3113170b2206595a12984fb /Library/Homebrew/software_spec.rb
parenta43f450544894ddf07607f1ecff7b71c9f6d3ec1 (diff)
downloadbrew-ecaf1592a095611f6f05e307454df82d4442eef2.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