aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2013-09-21 21:22:12 +0100
committerMike McQuaid2013-09-22 16:01:03 +0100
commit12989ee42ff09dfd404951e124bb01b13dfe1e93 (patch)
tree5516bd3aa4b87c6f6fd8b83976c2da1fa8946741 /Library
parent9ba08f095b81edc6c9fc8df4665e6ce6bcee9405 (diff)
downloadhomebrew-12989ee42ff09dfd404951e124bb01b13dfe1e93.tar.bz2
bottle: only output relocatable message if >1MB.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/bottle.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index 5321831e3..9c7157d8e 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -81,7 +81,9 @@ module Homebrew extend self
sha1 = bottle_path.sha1
relocatable = false
- ohai "Detecting if #{filename} is relocatable..."
+ if File.size?(bottle_path) > 1*1024*1024
+ ohai "Detecting if #{filename} is relocatable..."
+ end
keg = Keg.new f.prefix
keg.lock do
# Relocate bottle library references before testing for built-in