From 667b53ffb0702183a76274ed9f4a590344efdc5e Mon Sep 17 00:00:00 2001 From: Sema Date: Sun, 27 Jan 2013 15:35:02 +0400 Subject: [PATCH] doctor: fix transposed git command Closes Homebrew/homebrew#17338. Signed-off-by: Jack Nagel --- Library/Homebrew/cmd/doctor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 891ff70a50..3b68be3962 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -746,7 +746,7 @@ def check_for_git_origin Without a correctly configured origin, Homebrew won't update properly. You can solve this by adding the Homebrew remote: cd #{HOMEBREW_REPOSITORY} - git add remote origin https://github.com/mxcl/homebrew.git + git remote add origin https://github.com/mxcl/homebrew.git EOS end end