diff options
| author | Adam Vandenberg | 2010-07-04 10:42:44 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-04 10:44:07 -0700 |
| commit | 87cca0d0c18df03e2fb6d55d717b41f772b2f50f (patch) | |
| tree | 30c3358e51349444716b67c55deda3933fe40ca5 /Library | |
| parent | 22326bb56f942325533991e9512611d97eb680a4 (diff) | |
| download | homebrew-87cca0d0c18df03e2fb6d55d717b41f772b2f50f.tar.bz2 | |
'brew fetch' now shows MD5
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/examples/brew-fetch.rb | 4 |
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 |
