diff options
| author | Max Howell | 2012-03-17 00:20:37 +0000 |
|---|---|---|
| committer | Max Howell | 2012-03-17 00:21:22 +0000 |
| commit | f010a06208cd306ffb0ef426f31d112806e2aab3 (patch) | |
| tree | 2ac60dab1e4ef812b9b2787b774076acdecece80 /Library/Homebrew/exceptions.rb | |
| parent | 406582dcad68d198ffb712ba21d12b485336c55d (diff) | |
| download | homebrew-f010a06208cd306ffb0ef426f31d112806e2aab3.tar.bz2 | |
Allow dashes in tap-formula names
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index f577ecae5..de139fcbb 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -31,7 +31,7 @@ class FormulaUnavailableError < RuntimeError end def to_s - if name =~ %r{(\w+)/(\w+)/(\w+)} then <<-EOS.undent + if name =~ %r{(\w+)/(\w+)/([^/]+)} then <<-EOS.undent No available formula for #$3 #{dependent_s} Please tap it and then try again: brew tap #$1/#$2 EOS |
