From 87cca0d0c18df03e2fb6d55d717b41f772b2f50f Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 4 Jul 2010 10:42:44 -0700 Subject: 'brew fetch' now shows MD5 --- Library/Contributions/examples/brew-fetch.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Contributions/examples/brew-fetch.rb b/Library/Contributions/examples/brew-fetch.rb index a3fb29320..aadb91333 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 -- cgit v1.2.3