aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/fetch.rb
diff options
context:
space:
mode:
authorJack Nagel2011-10-09 15:55:52 -0500
committerJack Nagel2011-10-09 15:56:15 -0500
commit5792367b2898ba248f6ea8a94b10d8cca6485830 (patch)
tree353f9434f1b4d61ddd9712931c0533e38d2aeb12 /Library/Homebrew/cmd/fetch.rb
parent65b23359351d487c4bfe68e684fd3a62b56b856c (diff)
downloadhomebrew-5792367b2898ba248f6ea8a94b10d8cca6485830.tar.bz2
fetch: use correct sha256 instance variable
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd/fetch.rb')
-rw-r--r--Library/Homebrew/cmd/fetch.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/fetch.rb b/Library/Homebrew/cmd/fetch.rb
index 19060bc01..3828bf5d3 100644
--- a/Library/Homebrew/cmd/fetch.rb
+++ b/Library/Homebrew/cmd/fetch.rb
@@ -29,7 +29,7 @@ module Homebrew extend self
previous_md5 = f.instance_variable_get(:@md5)
previous_sha1 = f.instance_variable_get(:@sha1)
- previous_sha2 = f.instance_variable_get(:@sha2)
+ previous_sha2 = f.instance_variable_get(:@sha256)
puts "MD5: #{the_tarball.md5}"
puts "SHA1: #{the_tarball.sha1}"