Fix brew --cellar foo

This commit is contained in:
Adam Vandenberg 2011-03-19 11:06:51 -07:00
parent 6fda61cde4
commit b5c0f9ea03

View File

@ -3,7 +3,7 @@ module Homebrew extend self
if ARGV.named.empty?
puts HOMEBREW_CELLAR
else
puts ARGV.formulae.map{ |f| HOMEBREW_CELLAR+f }
puts ARGV.formulae.map{ |f| HOMEBREW_CELLAR+f.name }
end
end
end