#12609: Update developer guide for SPKGs
-----------------------------+----------------------------------------------
Reporter: jdemeyer | Owner: mvngu
Type: defect | Status: needs_work
Priority: minor | Milestone: sage-5.0
Component: documentation | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: John Palmieri
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Changes (by jdemeyer):
* status: needs_review => needs_work
Comment:
I guess you're missing a negation there (you're failing if the package is
found).
Don't use `grep -q`, it's not portable. Instead use `grep >/dev/null`.
Finally, your regular expression is probably too complicated, I think
{{{
grep '^fricas-.*' >/dev/null
}}}
should suffice. Your counterexample `fricasaldor-1.0.9` doesn't match it!
To be very safe, use `ls -1` instead of a plain `ls`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12609#comment:5>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.