brew fetch: show downloaded path

This commit is contained in:
Adam Vandenberg 2012-03-21 09:09:01 -07:00
parent 6eced20b35
commit a161058bcd

View File

@ -35,6 +35,7 @@ module Homebrew extend self
previous_sha1 = f.instance_variable_get(:@sha1).to_s.downcase previous_sha1 = f.instance_variable_get(:@sha1).to_s.downcase
previous_sha2 = f.instance_variable_get(:@sha256).to_s.downcase unless bottle previous_sha2 = f.instance_variable_get(:@sha256).to_s.downcase unless bottle
ohai "Downloaded to: #{the_tarball}"
puts "MD5: #{the_tarball.md5}" unless bottle puts "MD5: #{the_tarball.md5}" unless bottle
puts "SHA1: #{the_tarball.sha1}" puts "SHA1: #{the_tarball.sha1}"
puts "SHA256: #{the_tarball.sha2}" unless bottle puts "SHA256: #{the_tarball.sha2}" unless bottle