From d9210739133b99c73867337333a206073b91d9bb Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Fri, 27 Mar 2015 23:57:21 +0800 Subject: software_spec: ignore bottles compatibility if `--force-bottle` is passed Closes #38123. Signed-off-by: Xu Cheng --- Library/Homebrew/software_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/software_spec.rb') diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb index 569ea7988..f5e81d65e 100644 --- a/Library/Homebrew/software_spec.rb +++ b/Library/Homebrew/software_spec.rb @@ -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 -- cgit v1.2.3