formulary: use formula path when installing bottle
This commit is contained in:
parent
9bbd866fc6
commit
687c87d74d
@ -175,7 +175,7 @@ module Formulary
|
||||
def get_formula(spec, force_bottle: false, flags: [], **)
|
||||
contents = Utils::Bottles.formula_contents @bottle_filename, name: name
|
||||
formula = begin
|
||||
Formulary.from_contents(name, @bottle_filename, contents, spec, force_bottle: force_bottle, flags: flags)
|
||||
Formulary.from_contents(name, path, contents, spec, force_bottle: force_bottle, flags: flags)
|
||||
rescue FormulaUnreadableError => e
|
||||
opoo <<~EOS
|
||||
Unreadable formula in #{@bottle_filename}:
|
||||
|
Loading…
x
Reference in New Issue
Block a user