bottle: only output relocatable message if >1MB.

This commit is contained in:
Mike McQuaid committed 2013-09-22 16:01:03 +01:00
1 parent 9ba08f095b
commit 12989ee42f
1 file changed
+3 -1
+3 -1
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