aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2014-07-17 14:56:38 -0500
committerJack Nagel2014-07-17 15:01:27 -0500
commit07003f43caf6345a18858fd82c320623ebf42ae3 (patch)
tree32078d675e30154af845f6063b953051582111f2 /Library/Homebrew/cmd
parentddefbe2c85e18d610690b86d36dd745f94e088d9 (diff)
downloadbrew-07003f43caf6345a18858fd82c320623ebf42ae3.tar.bz2
Call size on the path
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/bottle.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/bottle.rb b/Library/Homebrew/cmd/bottle.rb
index 043e5202c..c74bb1921 100644
--- a/Library/Homebrew/cmd/bottle.rb
+++ b/Library/Homebrew/cmd/bottle.rb
@@ -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