aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/update.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2011-07-31 10:32:09 -0700
committerAdam Vandenberg2011-07-31 10:32:09 -0700
commit1834609769355fa38ed403ec1f37f829d0910a49 (patch)
treec4dde391445da5514f09c1e9677a59ce75339cc4 /Library/Homebrew/cmd/update.rb
parent91485b7afce60f85cfdf3da677c72572cfb9bbb0 (diff)
downloadhomebrew-1834609769355fa38ed403ec1f37f829d0910a49.tar.bz2
Fix brew update on Leopard
Diffstat (limited to 'Library/Homebrew/cmd/update.rb')
-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?