#15942: fix md5 in sage-spkg
-------------------------+-------------------------------------------------
       Reporter:         |        Owner:
  kcrisman               |       Status:  needs_review
           Type:         |    Milestone:  sage-6.2
  defect                 |   Resolution:
       Priority:         |    Merged in:
  blocker                |    Reviewers:
      Component:  build  |  Work issues:
       Keywords:         |       Commit:
        Authors:         |  be51873e974c88db4ec67a13fcb6206e8b00fd1f
  Volker Braun           |     Stopgaps:
Report Upstream:  N/A    |
         Branch:         |
  u/vbraun/md5_fix       |
   Dependencies:         |
-------------------------+-------------------------------------------------

Comment (by kcrisman):

 I can't guarantee this will work on other systems with possibly different
 `md5` implementation, but at any rate the sed doesn't mess things up, as
 makes sense.  For reference, with `-q`, `md5` on Mac outputs
 {{{
 $ md5 Downloads/974230_10103787412222420_571824162_n.jpg
 MD5 (Downloads/974230_10103787412222420_571824162_n.jpg) =
 bf36ca4308ce426d74d095681ebd5a18
 md5 -q Downloads/974230_10103787412222420_571824162_n.jpg  | sed
 's/[^0-9a-f].*//'
 bf36ca4308ce426d74d095681ebd5a18
 }}}
 So fine with me, but maybe someone else should be asked as well who knows
 about such things?

--
Ticket URL: <http://trac.sagemath.org/ticket/15942#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to