diff options
| author | Mike McQuaid | 2013-09-21 21:22:12 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2013-09-22 16:01:03 +0100 |
| commit | b2a983343b94d67c740fb273d14d68702ddc765b (patch) | |
| tree | 12120fcc0d78d755c307936e4405accdf1149166 /Library | |
| parent | fd34bd6b9029d905edc0bf044ab891ccb804e8e8 (diff) | |
| download | brew-b2a983343b94d67c740fb273d14d68702ddc765b.tar.bz2 | |
bottle: only output relocatable message if >1MB.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/bottle.rb | 4 |
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 |
