diff options
| author | Xu Cheng | 2015-03-27 23:57:21 +0800 |
|---|---|---|
| committer | Xu Cheng | 2015-03-28 13:06:15 +0800 |
| commit | c46e2dc196f1b687bd983404295f8a6ca3273185 (patch) | |
| tree | 752a527acefdced36ccb43eae7ce5a85e1145399 /Library/Homebrew/software_spec.rb | |
| parent | 9b75afcf4ae735cb197f0ef835e0052c94cdb666 (diff) | |
| download | brew-c46e2dc196f1b687bd983404295f8a6ca3273185.tar.bz2 | |
software_spec: ignore bottles compatibility if `--force-bottle` is passed
Closes Homebrew/homebrew#38123.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Homebrew/software_spec.rb')
| -rw-r--r-- | Library/Homebrew/software_spec.rb | 2 |
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 |
