From 637b4fb34e11ec74174c730fb9fc8d2ce2ca0a07 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 24 Jan 2012 19:59:24 -0600 Subject: doctor: reset should be done in HOMEBREW_REPOSITORY Signed-off-by: Jack Nagel --- Library/Homebrew/cmd/doctor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index 84b21dd7c..5ba57173b 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -756,7 +756,7 @@ def check_git_status if system "/usr/bin/which -s git" and File.directory? '.git' and not cmd.empty? ohai "You have uncommitted modifications to Homebrew's core." puts "Unless you know what you are doing, you should run:" - puts "cd "+HOMEBREW_PREFIX+" && git reset --hard" + puts "cd "+HOMEBREW_REPOSITORY+" && git reset --hard" puts end end -- cgit v1.2.3