aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2011-10-09 15:55:52 -0500
committerJack Nagel2011-10-09 15:56:15 -0500
commitf29c44d1fd0a7ae7c5c27dc3f0030915aa8cb262 (patch)
tree78518d290323587105968c8fe40589bc050e1aa4 /Library
parent558ce2dd3d1c12154d2319e300d1009f9c3cc528 (diff)
downloadbrew-f29c44d1fd0a7ae7c5c27dc3f0030915aa8cb262.tar.bz2
fetch: use correct sha256 instance variable
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-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}"