diff options
| author | Jack Nagel | 2013-01-17 21:46:02 -0600 |
|---|---|---|
| committer | Jack Nagel | 2013-01-17 21:46:02 -0600 |
| commit | f44954a1afb2e5cf026ab51ad95b262ad5af0a33 (patch) | |
| tree | a3a7af30b53e90245a98f629cc024d15a0a55990 /Library | |
| parent | e21156719f98b84c17b63ade994dbc00040ad4c4 (diff) | |
| download | homebrew-f44954a1afb2e5cf026ab51ad95b262ad5af0a33.tar.bz2 | |
doctor: loosen git origin regexp
If the repository is set up by `brew update`, the remote URL is
https://github.com/mxcl/homebrew.git, but if it is set up by the install
script, the .git suffix is omitted.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index d57226a99..360236511 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -744,7 +744,7 @@ def check_the_git_origin HOMEBREW_REPOSITORY.cd do origin = `git config --get remote.origin.url`.chomp - unless origin =~ /mxcl\/homebrew\.git$/ then <<-EOS.undent + unless origin =~ /mxcl\/homebrew(\.git)?$/ then <<-EOS.undent Suspicious git origin remote found. With a non-standard origin, Homebrew won't pull updates from |
