fetch: compare checksums case-insensitively
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
98dcfcfe2e
commit
5ab0488918
@ -29,9 +29,9 @@ module Homebrew extend self
|
|||||||
the_tarball, _ = f.fetch
|
the_tarball, _ = f.fetch
|
||||||
next unless the_tarball.kind_of? Pathname
|
next unless the_tarball.kind_of? Pathname
|
||||||
|
|
||||||
previous_md5 = f.instance_variable_get(:@md5)
|
previous_md5 = f.instance_variable_get(:@md5).to_s.downcase
|
||||||
previous_sha1 = f.instance_variable_get(:@sha1)
|
previous_sha1 = f.instance_variable_get(:@sha1).to_s.downcase
|
||||||
previous_sha2 = f.instance_variable_get(:@sha256)
|
previous_sha2 = f.instance_variable_get(:@sha256).to_s.downcase
|
||||||
|
|
||||||
puts "MD5: #{the_tarball.md5}"
|
puts "MD5: #{the_tarball.md5}"
|
||||||
puts "SHA1: #{the_tarball.sha1}"
|
puts "SHA1: #{the_tarball.sha1}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user