Call size on the path
This commit is contained in:
parent
ddefbe2c85
commit
07003f43ca
@ -158,7 +158,7 @@ module Homebrew
|
||||
safe_system 'tar', 'czf', bottle_path, "#{f.name}/#{f.pkg_version}"
|
||||
end
|
||||
|
||||
if File.size?(bottle_path) > 1*1024*1024
|
||||
if bottle_path.size > 1*1024*1024
|
||||
ohai "Detecting if #{filename} is relocatable..."
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user