aboutsummaryrefslogtreecommitdiff
path: root/lib/leap_cli/util.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-10-23 10:36:31 -0700
committerelijah <elijah@riseup.net>2012-10-23 10:36:31 -0700
commit2008e55bae7dddad3ad73ff9871d7ed205c67509 (patch)
tree117ee5fefdc7a108b262b1f760a12226fc2ed4b9 /lib/leap_cli/util.rb
parentdc522f85e49c9bc6ae8c38f252d682a54018e03e (diff)
downloadleap_cli-2008e55bae7dddad3ad73ff9871d7ed205c67509.tar.gz
leap_cli-2008e55bae7dddad3ad73ff9871d7ed205c67509.tar.bz2
fixed md5 problem (again)
Diffstat (limited to 'lib/leap_cli/util.rb')
-rw-r--r--lib/leap_cli/util.rb2
1 files changed, 1 insertions, 1 deletions
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