aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2011-07-31 10:32:09 -0700
committerAdam Vandenberg2011-07-31 10:32:09 -0700
commitf30893a96804f70b92c444ddb5a10a347f2a14b5 (patch)
tree5de6c4a086bc4e8647082d9367cf7d74470b37f8 /Library
parent9289c0629910803432601e5e7cf4d974e03b1be0 (diff)
downloadbrew-f30893a96804f70b92c444ddb5a10a347f2a14b5.tar.bz2
Fix brew update on Leopard
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/update.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/update.rb b/Library/Homebrew/cmd/update.rb
index e477bc7dc..599a9998c 100644
--- a/Library/Homebrew/cmd/update.rb
+++ b/Library/Homebrew/cmd/update.rb
@@ -86,7 +86,7 @@ class RefreshBrew
end
def git_repo?
- Dir['.git/*'].count > 0
+ Dir['.git/*'].length > 0
end
def pending_formulae_changes?