From b69d6dc4cf4c3caaa993cb0d2f4f87ca65d1c6e6 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 29 Jul 2010 09:14:52 -0700 Subject: Add sha1 to brew fetch and document command --- Library/Contributions/examples/brew-fetch.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Contributions/examples') 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 -- cgit v1.2.3