brew fetch shouldn't try to checksum VCS checkouts

Fixes Homebrew/homebrew#1802
This commit is contained in:
Adam Vandenberg 2010-07-07 21:31:55 -07:00
parent 375f8094d3
commit c2c0f681f5

View File

@ -10,6 +10,8 @@ ARGV.formulae.each do |f|
end
the_tarball = f.downloader.fetch
md5 = the_tarball.md5
puts "MD5 is #{md5}"
if the_tarball.kind_of? Pathname
md5 = the_tarball.md5
puts "MD5 is #{md5}"
end
end