#20692: Add sage-apply-patches helper script for use in spkg-install scripts
-------------------------------------+-------------------------------------
       Reporter:  embray             |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-7.3
      Component:  build              |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Erik Bray          |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:  u/embray/patch-    |       Commit:
  cleanup                            |  29bd19903b16289c178e9468194318e5d1017dad
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 Seems I have to undust my `bash` scripting skills...

 Why is it an error if there are no patches to apply? I would remove
 {{{
 if [[ -r "${patches[0]}" ]]; then
 else
     >&2 echo "No patch files found in $patchdir"
     exit 1
 fi
 }}}
 and just apply all patches, which may be the empty set.

--
Ticket URL: <http://trac.sagemath.org/ticket/20692#comment:2>
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 https://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to