From cc4776cc2353fc3420ab4934eca269cf514f5ad7 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 8 Dec 2013 16:41:22 -0600 Subject: [PATCH] versions: fix bottle filename usage --- Library/Homebrew/cmd/versions.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/cmd/versions.rb b/Library/Homebrew/cmd/versions.rb index 5a356cb885..47baa715a6 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?