diff options
| author | Max Howell | 2012-08-02 10:20:06 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-02 10:20:22 -0400 |
| commit | 1065a2de0e4195f978ccbba104eab55a60a02c0d (patch) | |
| tree | 208855ffa78412c967f6569226663b21a6f33dd5 /Library/Homebrew/cmd/edit.rb | |
| parent | 5222ba75d38b11ded862b18f3d648f7a6d6186a7 (diff) | |
| download | homebrew-1065a2de0e4195f978ccbba104eab55a60a02c0d.tar.bz2 | |
REPOSITORY not PREFIX when checking for the .git
Diffstat (limited to 'Library/Homebrew/cmd/edit.rb')
| -rw-r--r-- | Library/Homebrew/cmd/edit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/edit.rb b/Library/Homebrew/cmd/edit.rb index 3fd3bfe09..27dd4b026 100644 --- a/Library/Homebrew/cmd/edit.rb +++ b/Library/Homebrew/cmd/edit.rb @@ -2,7 +2,7 @@ require 'formula' module Homebrew extend self def edit - unless (HOMEBREW_PREFIX/'.git').directory? + unless (HOMEBREW_REPOSITORY/'.git').directory? raise <<-EOS.undent Changes will be lost! The first time you `brew update', all local changes will be lost, you should |
