diff options
| author | Adam Vandenberg | 2010-07-29 09:14:52 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2010-08-07 18:08:53 -0700 |
| commit | d88f2738210ac1fa734cf5bed88e2598653d6b0c (patch) | |
| tree | cb434495d8391588d3796d73b8aeca1ac21734be /Library/Contributions/examples/brew-fetch.rb | |
| parent | 2601886a3fe43081869bc9454578f683fc3df346 (diff) | |
| download | homebrew-d88f2738210ac1fa734cf5bed88e2598653d6b0c.tar.bz2 | |
Add sha1 to brew fetch and document command
Diffstat (limited to 'Library/Contributions/examples/brew-fetch.rb')
| -rwxr-xr-x | Library/Contributions/examples/brew-fetch.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Contributions/examples/brew-fetch.rb b/Library/Contributions/examples/brew-fetch.rb index 04573669f..2f7ddc6f8 100755 --- a/Library/Contributions/examples/brew-fetch.rb +++ b/Library/Contributions/examples/brew-fetch.rb @@ -11,7 +11,7 @@ ARGV.formulae.each do |f| the_tarball = f.downloader.fetch if the_tarball.kind_of? Pathname - md5 = the_tarball.md5 - puts "MD5 is #{md5}" + puts "MD5: #{the_tarball.md5}" + puts "SHA1: #{the_tarball.sha1}" end end |
