Remove unnecessary memoization from FormulaInstaller#build_argv
This commit is contained in:
parent
536430e0ae
commit
a12d3918d4
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user