Skip to content
Snippets Groups Projects
Commit 687c87d7 authored by Seeker's avatar Seeker
Browse files

formulary: use formula path when installing bottle

parent 9bbd866f
No related branches found
No related tags found
No related merge requests found
......@@ -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}:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment