bottle: only output relocatable message if >1MB.
This commit is contained in:
parent
fd34bd6b90
commit
b2a983343b
@ -81,7 +81,9 @@ module Homebrew extend self
|
|||||||
sha1 = bottle_path.sha1
|
sha1 = bottle_path.sha1
|
||||||
relocatable = false
|
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 = Keg.new f.prefix
|
||||||
keg.lock do
|
keg.lock do
|
||||||
# Relocate bottle library references before testing for built-in
|
# Relocate bottle library references before testing for built-in
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user