diff options
| author | Jack Nagel | 2014-03-01 23:55:21 -0600 |
|---|---|---|
| committer | Jack Nagel | 2014-03-01 23:55:21 -0600 |
| commit | 1c7a66bf7f6c2f63288e4aff797638e1e518d10b (patch) | |
| tree | 87f7dbc927b08119151cc1f85313b043e52af637 | |
| parent | 8339fba11f8b65e6214b8ab7038655249dd5e936 (diff) | |
| download | homebrew-1c7a66bf7f6c2f63288e4aff797638e1e518d10b.tar.bz2 | |
Remove unnecessary memoization from FormulaInstaller#build_argv
| -rw-r--r-- | Library/Homebrew/formula_installer.rb | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index c58caefa0..eb562c021 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -373,14 +373,12 @@ class FormulaInstaller end def build_argv - @build_argv ||= begin - opts = Options.coerce(ARGV.options_only) - unless opts.include? '--fresh' - opts.concat(options) # from a dependent formula - opts.concat(tab.used_options) # from a previous install - end - opts << Option.new("--build-from-source") # don't download bottle + opts = Options.coerce(ARGV.options_only) + unless opts.include? '--fresh' + opts.concat(options) # from a dependent formula + opts.concat(tab.used_options) # from a previous install end + opts << Option.new("--build-from-source") # don't download bottle end def build |
