From 55db2e5da6df1aaa7dd59b81314a5720bc3dcfce Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 4 Jul 2010 10:42:44 -0700 Subject: [PATCH] 'brew fetch' now shows MD5 --- Library/Contributions/examples/brew-fetch.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Contributions/examples/brew-fetch.rb b/Library/Contributions/examples/brew-fetch.rb index a3fb293203..aadb913330 100755 --- a/Library/Contributions/examples/brew-fetch.rb +++ b/Library/Contributions/examples/brew-fetch.rb @@ -9,5 +9,7 @@ ARGV.formulae.each do |f| FileUtils.rm_rf where_to unless where_to.empty? end - f.downloader.fetch + the_tarball = f.downloader.fetch + md5 = the_tarball.md5 + puts "MD5 is #{md5}" end