bottle: only output relocatable message if >1MB.

This commit is contained in:
Mike McQuaid 2013-09-21 21:22:12 +01:00
parent fd34bd6b90
commit b2a983343b

View File

@ -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