From: elijah Date: Tue, 23 Oct 2012 17:36:31 +0000 (-0700) Subject: fixed md5 problem (again) X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=2008e55bae7dddad3ad73ff9871d7ed205c67509;p=leap%2Fleap_cli.git fixed md5 problem (again) --- diff --git a/lib/leap_cli/util.rb b/lib/leap_cli/util.rb index 6529d38..53bad35 100644 --- a/lib/leap_cli/util.rb +++ b/lib/leap_cli/util.rb @@ -188,7 +188,7 @@ module LeapCli filepath = Path.named_path(filepath) output = `md5sum '#{filepath}'`.strip if $?.to_i == 0 - return output.split(" ").first == MD5.md5(contents).to_s + return output.split(" ").first == Digest::MD5.hexdigest(contents).to_s else return false end