diff options
| author | Max Howell | 2012-08-06 16:44:11 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-06 16:44:11 -0400 |
| commit | 6629a9e23fdfb024054b2c4b89bc0ec1f0173bdf (patch) | |
| tree | f73b2f735f89e111754ba6013d8593a7d5787b68 /Library/Homebrew/cmd | |
| parent | 47cdd4d8190c2e8be4758c019c986ccccbe50f11 (diff) | |
| download | brew-6629a9e23fdfb024054b2c4b89bc0ec1f0173bdf.tar.bz2 | |
Don't error out if never `brew updated`
Fixes Homebrew/homebrew#12944.
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/info.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/info.rb b/Library/Homebrew/cmd/info.rb index 02cacff1d..96152a5c8 100644 --- a/Library/Homebrew/cmd/info.rb +++ b/Library/Homebrew/cmd/info.rb @@ -21,7 +21,7 @@ module Homebrew extend self end def github_fork - if which 'git' + if which 'git' and (HOMEBREW_REPOSITORY/".git").directory? if `git remote -v` =~ %r{origin\s+(https?://|git(?:@|://))github.com[:/](.+)/homebrew} $2 end |
