Only use the bottle if its version is up-to-date
Rationale: if you edit a formula to use a different source URL it should build that and not the pour the bottle. Obviously.
This commit is contained in:
parent
4f03ad225e
commit
be79906b62
@ -14,7 +14,8 @@ class FormulaInstaller
|
||||
@f = ff
|
||||
@show_header = true
|
||||
@ignore_deps = ARGV.include? '--ignore-dependencies' || ARGV.interactive?
|
||||
@install_bottle = !ff.bottle.nil? && !ARGV.build_from_source?
|
||||
@install_bottle = !ff.bottle.nil? && !ARGV.build_from_source? &&
|
||||
Pathname.new(ff.bottle).version == ff.version
|
||||
end
|
||||
|
||||
def install
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user