aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/extend
diff options
context:
space:
mode:
authorMike McQuaid2012-12-04 12:06:02 +0000
committerMike McQuaid2012-12-04 12:06:02 +0000
commitb30390f1e484b14efd5b909a8cd6ef31a9499b79 (patch)
treeab3190a030ae61e73e6fe454fb40fab268cb98b4 /Library/Homebrew/extend
parent9dc265a2f4cd46400674e7154f4700df5a2bd064 (diff)
downloadhomebrew-b30390f1e484b14efd5b909a8cd6ef31a9499b79.tar.bz2
Improve bottle error messages.
On installation or creation of a bottle error out of the current machine does not support bottles. References #16291.
Diffstat (limited to 'Library/Homebrew/extend')
-rw-r--r--Library/Homebrew/extend/ARGV.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb
index a871559da..eb995bf28 100644
--- a/Library/Homebrew/extend/ARGV.rb
+++ b/Library/Homebrew/extend/ARGV.rb
@@ -130,7 +130,7 @@ module HomebrewArgvExtension
end
def build_bottle?
- include? '--build-bottle' and MacOS.bottles_supported?
+ include? '--build-bottle' and MacOS.bottles_supported?(true)
end
def build_from_source?