aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-12-08 16:41:22 -0600
committerJack Nagel2013-12-08 16:41:35 -0600
commit21ae4facbef5e61bde94c95644f2f7256c88fc06 (patch)
tree394eca5c182751cedad547ba558ecd137ce4dd29
parent560aebc0f4638afdb7cb53d0b35d55b678bde0fe (diff)
downloadhomebrew-21ae4facbef5e61bde94c95644f2f7256c88fc06.tar.bz2
versions: fix bottle filename usage
-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?