aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-12-08 16:41:22 -0600
committerJack Nagel2013-12-08 16:41:35 -0600
commitcc4776cc2353fc3420ab4934eca269cf514f5ad7 (patch)
treede8be9f3da3f5c72bca3ac0723e5d89669fd8a23 /Library
parentb45cadd19a7acc17de456289951bd3f7301c5325 (diff)
downloadbrew-cc4776cc2353fc3420ab4934eca269cf514f5ad7.tar.bz2
versions: fix bottle filename usage
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/versions.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/versions.rb b/Library/Homebrew/cmd/versions.rb
index 5a356cb88..47baa715a 100644
--- a/Library/Homebrew/cmd/versions.rb
+++ b/Library/Homebrew/cmd/versions.rb
@@ -47,8 +47,7 @@ class Formula
filename = formula_for_sha(sha) do |f|
bottle_block = f.class.send(:bottle)
unless bottle_block.checksums.empty?
- revision = bottle_block.revision
- bottle_filename f, revision
+ bottle_filename f, :revision => bottle_block.revision
end
end
unless filenames.include? filename or filename.nil?