software_spec: ignore bottles compatibility if --force-bottle is passed
Closes Homebrew/homebrew#38123. Signed-off-by: Xu Cheng <xucheng@me.com>
This commit is contained in:
parent
9b75afcf4a
commit
c46e2dc196
@ -63,7 +63,7 @@ class SoftwareSpec
|
||||
|
||||
def bottled?
|
||||
bottle_specification.tag?(bottle_tag) && \
|
||||
bottle_specification.compatible_cellar?
|
||||
(bottle_specification.compatible_cellar? || ARGV.force_bottle?)
|
||||
end
|
||||
|
||||
def bottle &block
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user