aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2009-10-24 15:55:53 +0100
committerMax Howell2009-10-24 16:20:11 +0100
commitfc9ea77bb3c5e7c3ce2852be181fadf1b49cd304 (patch)
tree9e234f90f758f1969ff0a58cf7d3087cb552d4fc /Library
parente289164adc985e364f4c3fcb198534321e4aa481 (diff)
downloadbrew-fc9ea77bb3c5e7c3ce2852be181fadf1b49cd304.tar.bz2
Better md5 mismatch exception
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb
index 4bc2cb7d7..4d88eadd8 100644
--- a/Library/Homebrew/formula.rb
+++ b/Library/Homebrew/formula.rb
@@ -275,7 +275,7 @@ private
hash=Digest.const_get(type).hexdigest(fn.read)
if supplied and not supplied.empty?
- raise "#{type} mismatch: #{hash}" unless supplied.upcase == hash.upcase
+ raise "#{type} mismatch\nExpected: #{hash}\nArchive: #{fn}" unless supplied.upcase == hash.upcase
else
opoo "Cannot verify package integrity"
puts "The formula did not provide a download checksum"