diff options
author | elijah <elijah@riseup.net> | 2012-10-23 10:36:31 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-10-23 10:36:31 -0700 |
commit | 2008e55bae7dddad3ad73ff9871d7ed205c67509 (patch) | |
tree | 117ee5fefdc7a108b262b1f760a12226fc2ed4b9 | |
parent | dc522f85e49c9bc6ae8c38f252d682a54018e03e (diff) | |
download | leap_cli-2008e55bae7dddad3ad73ff9871d7ed205c67509.tar.gz leap_cli-2008e55bae7dddad3ad73ff9871d7ed205c67509.tar.bz2 |
fixed md5 problem (again)
-rw-r--r-- | lib/leap_cli/util.rb | 2 |
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 |