aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Cheng2015-03-27 23:57:21 +0800
committerXu Cheng2015-03-28 13:06:15 +0800
commitd9210739133b99c73867337333a206073b91d9bb (patch)
tree699155d4cd9fe897416d02677a900aac25e19e0e
parent3b9101f887fbe8865d9bea1ac9b2fb9b793ead02 (diff)
downloadhomebrew-d9210739133b99c73867337333a206073b91d9bb.tar.bz2
software_spec: ignore bottles compatibility if `--force-bottle` is passed
Closes #38123. Signed-off-by: Xu Cheng <xucheng@me.com>
-rw-r--r--Library/Homebrew/software_spec.rb2
1 files changed, 1 insertions, 1 deletions
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