aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/examples/brew-fetch.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-07-29 09:14:52 -0700
committerAdam Vandenberg2010-08-07 18:08:53 -0700
commitd88f2738210ac1fa734cf5bed88e2598653d6b0c (patch)
treecb434495d8391588d3796d73b8aeca1ac21734be /Library/Contributions/examples/brew-fetch.rb
parent2601886a3fe43081869bc9454578f683fc3df346 (diff)
downloadhomebrew-d88f2738210ac1fa734cf5bed88e2598653d6b0c.tar.bz2
Add sha1 to brew fetch and document command
Diffstat (limited to 'Library/Contributions/examples/brew-fetch.rb')
-rwxr-xr-xLibrary/Contributions/examples/brew-fetch.rb4
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