#11932: Allow running Sage with a temporary DOT_SAGE directory
---------------------------------+------------------------------------------
       Reporter:  jdemeyer       |         Owner:  leif          
           Type:  enhancement    |        Status:  needs_review  
       Priority:  major          |     Milestone:  sage-5.0      
      Component:  scripts        |    Resolution:                
       Keywords:                 |   Work issues:                
Report Upstream:  N/A            |     Reviewers:  Jeroen Demeyer
        Authors:  John Palmieri  |     Merged in:                
   Dependencies:  #11926         |      Stopgaps:                
---------------------------------+------------------------------------------

Comment (by jdemeyer):

 Unfortunately, this doesn't quite work properly since `DOT_SAGE` is
 changed ''after'' reading `sage-env`.  The following variables still refer
 to `$HOME/.sage`:
 {{{
 jdemeyer@arcanis:/usr/local/src/sage-5.0.beta13$ ./sage --nodotsage --sh
 -c env | fgrep "$HOME/.sage"
 MPLCONFIGDIR=/home/jdemeyer/.sage//matplotlib-1.1.0
 SAGE_STARTUP_FILE=/home/jdemeyer/.sage//init.sage
 SAGE_TESTDIR=/home/jdemeyer/.sage//tmp
 }}}

 I suggest moving the `--nodotsage` check before the sourcing of `sage-
 env`.

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