diff options
| author | Adam Vandenberg | 2010-07-04 10:42:44 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-07-04 10:44:07 -0700 |
| commit | 55db2e5da6df1aaa7dd59b81314a5720bc3dcfce (patch) | |
| tree | b915f9b06a1439482a03028bc0f5781d9af6c88d | |
| parent | 40c8af111f69d3d4668d113697c697e57b902ec0 (diff) | |
| download | brew-55db2e5da6df1aaa7dd59b81314a5720bc3dcfce.tar.bz2 | |
'brew fetch' now shows MD5
| -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 |
