#10339: Simplify spkg/pipestatus
------------------------------+---------------------------------------------
   Reporter:  jdemeyer        |       Owner:  GeorgSWeber        
       Type:  defect          |      Status:  needs_review       
   Priority:  major           |   Milestone:  sage-4.6.1         
  Component:  build           |    Keywords:  pipestatus Makefile
     Author:  Jeroen Demeyer  |    Upstream:  N/A                
   Reviewer:  Leif Leonhardy  |      Merged:                     
Work_issues:                  |  
------------------------------+---------------------------------------------

Comment(by jdemeyer):

 Replying to [comment:29 leif]:
 > You didn't give an answer to the other aspects I mentioned.

 You mean this?:

 Replying to [comment:27 leif]:
 > And as a side-effect, we get `bash` into the `make` receipt. Rather than
 writing
 > {{{
 > #!make
 > target: prereq
 >         bash -c "cmd1" ; pipestatus "cmd2" "cmd3" ; bash -c "cmd4"
 > }}}
 > we can simply do
 > {{{
 > #!make
 > target: prereq
 >         pipestatus "cmd1 ; cmd2" "cmd3 ; cmd4"
 > }}}
 > with the advantage of having the ability to e.g, set environment
 variables in the first command that take effect in the latter.

 I don't think that's relevant.  If you really need specific `bash` code in
 your `Makefile`, you better just write a separate shell script.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10339#comment:30>
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.

Reply via email to