aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/bottles.rb
diff options
context:
space:
mode:
authorMike McQuaid2013-09-01 12:59:01 +0100
committerMike McQuaid2013-09-01 12:59:01 +0100
commit98eac4226be22daa87fa912b49c1330495ab00d9 (patch)
treee94295b8e076e0341f0a8aca53f0797a874ab8b7 /Library/Homebrew/bottles.rb
parentdd94518a409ca54fef1e08f4a0be894d53794636 (diff)
downloadbrew-98eac4226be22daa87fa912b49c1330495ab00d9.tar.bz2
Allow forcing bottle installation.
Diffstat (limited to 'Library/Homebrew/bottles.rb')
-rw-r--r--Library/Homebrew/bottles.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb
index ab484c134..e067df471 100644
--- a/Library/Homebrew/bottles.rb
+++ b/Library/Homebrew/bottles.rb
@@ -17,6 +17,7 @@ def install_bottle? f, warn=false
and f.downloader.local_bottle_path
return false if ARGV.build_from_source?
+ return true if ARGV.force_bottle?
return false unless f.pour_bottle?
return false unless f.build.used_options.empty?
return false unless bottle_current?(f)