#10822: sage -sh doesn't work on OSX
-----------------------+----------------------------------------------------
   Reporter:  jason    |       Owner:     
       Type:  defect   |      Status:  new
   Priority:  major    |   Milestone:     
  Component:  scripts  |    Keywords:     
     Author:           |    Upstream:  N/A
   Reviewer:           |      Merged:     
Work_issues:           |  
-----------------------+----------------------------------------------------

Comment(by jhpalmieri):

 I get the same as you in both cases.  Now I see I didn't read all of the
 path_helper documentation: in addition to adding paths from /etc/paths.d/,
 it also says
 {{{
 Prior to reading these directories, default PATH and MANPATH values are
 obtained from the files
 /etc/paths and /etc/manpaths respectively.
 }}}
 Note that there are no promises about appending anything.

 However, I still don't have the problem you're having with "sage -sh".
 Indeed, I would guess that your PATH is set incorrectly whenever you run
 Sage, and then I'm surprised that anything works right.  What happens if
 you do this in Sage:
 {{{
 sage: import os
 sage: os.environ.get('PATH')
 }}}
 Are the Sage directories at the beginning or end?

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

Reply via email to