aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLibrary/Contributions/examples/brew-fetch.rb4
1 files changed, 3 insertions, 1 deletions
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