#10491: Dump environment before building
-----------------------------+----------------------------------------------
 Reporter:  jdemeyer         |         Owner:  GeorgSWeber                      
       
     Type:  enhancement      |        Status:  closed                           
       
 Priority:  minor            |     Milestone:  sage-4.6.1                       
       
Component:  scripts          |    Resolution:  fixed                            
       
 Keywords:  scripts install  |        Author:  Jeroen Demeyer                   
       
 Upstream:  N/A              |      Reviewer:  Volker Braun                     
       
   Merged:  sage-4.6.1.rc0   |   Work_issues:  Don't always dump the whole 
environment.
-----------------------------+----------------------------------------------

Comment(by leif):

 (You could invert the test on `$MAKECMDGOALS` to
 {{{
 #!sh
 if [ -z "$MAKECMDGOALS" ] || (echo $MAKECMDGOALS | egrep "build|all"
 >/dev/null); then
     # dump all (or some) env vars
     ...
 fi
 }}}
 )

 The "early exit" in my patch above is IMHO useful anyway, since always
 printing
 {{{
 To install gap, gp, singular, etc., scripts
 in a standard bin directory, start sage and
 type something like
    sage: install_scripts('/usr/local/bin')
 at the Sage command prompt.

 To build the documentation, run
    make doc

 Sage build/upgrade complete!
 }}}
 is also dumb.

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