aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-06-19 13:27:19 -0500
committerJack Nagel2014-06-19 13:27:19 -0500
commit21ffc89a8ed4c2aa4b583ccf811c34109cf251a0 (patch)
tree6572e58c78a6ad7a52164025975720700498c94d /Library
parent10a1952d2cdcda5e5372fc86ffda33dcca24b894 (diff)
downloadbrew-21ffc89a8ed4c2aa4b583ccf811c34109cf251a0.tar.bz2
Use rack accessor instead of building pathname manually
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/--cellar.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/--cellar.rb b/Library/Homebrew/cmd/--cellar.rb
index fafac847d..bf30a826c 100644
--- a/Library/Homebrew/cmd/--cellar.rb
+++ b/Library/Homebrew/cmd/--cellar.rb
@@ -3,7 +3,7 @@ module Homebrew
if ARGV.named.empty?
puts HOMEBREW_CELLAR
else
- puts ARGV.formulae.map{ |f| HOMEBREW_CELLAR+f.name }
+ puts ARGV.formulae.map(&:rack)
end
end
end