parent
47cdd4d819
commit
6629a9e23f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user