diff options
| author | Adam Vandenberg | 2010-08-15 19:47:46 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-15 19:47:46 -0700 |
| commit | 6d36c4daf28b9d1730d368ccbe184cef99dc92ce (patch) | |
| tree | 6607fc6bc594b63dc653d12d1b62582bbcf23468 /Library/Contributions/examples | |
| parent | 74a081e08df276154ef6722c25da16b788f978cf (diff) | |
| download | brew-6d36c4daf28b9d1730d368ccbe184cef99dc92ce.tar.bz2 | |
Fix brew server and document.
Diffstat (limited to 'Library/Contributions/examples')
| -rwxr-xr-x | Library/Contributions/examples/brew-server | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/examples/brew-server b/Library/Contributions/examples/brew-server index 15bd4dbb7..856baf241 100755 --- a/Library/Contributions/examples/brew-server +++ b/Library/Contributions/examples/brew-server @@ -144,7 +144,7 @@ get '/formula/:name' do end end - used_by = Formula.get_used_by()[klass.name] + used_by = Formula.all.select{|ff| ff.deps.include?(klass.name)}.map{|f| f.name}.flatten.uniq.sort unless used_by == nil s << <<-HTML <dt>Used by</td> |
