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
commit5b288eee85238d96d9cfb42f02db72c7b0c858c4 (patch)
treeffe8efac5ed5db8d4676d37c21448666201adb12 /Library
parente88015cb59a1f7ee612b81852ccd78ed522b8066 (diff)
downloadhomebrew-5b288eee85238d96d9cfb42f02db72c7b0c858c4.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"