Commit 2e3cb8bc authored by Patrick J Cherry's avatar Patrick J Cherry
Browse files

Updated Rakefile to use digest/md5 not just md5.

parent be1e168f
......@@ -2,7 +2,7 @@
require 'fileutils'
require 'rake/clean'
require 'md5'
require 'digest/md5'
require 'pp'
DEBEMAIL=ENV["DEBEMAIL"] || "symbiosis@bytemark.co.uk"
......@@ -120,7 +120,7 @@ EOF
# Add the md5sums for each prereq.
#
t.prerequisites.each do |prereq|
release << " "+[ MD5.hexdigest(File.read(prereq)),
release << " "+[ Digest::MD5.hexdigest(File.read(prereq)),
File.stat(prereq).size,
prereq].join(" ")+"\n"
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment