Hi,

I want to use sage -sh to have my environment variables setup
properly.  But on OS X sage -sh behaves in a very odd manner.

* /Users/bgranger/Sage/sage appears multiple times.
* The bin directory of Sage in put after some of my bin directories,
making it so Sage's version of things are not used at the command line
* sage/local/Frameworks/Python.framework/Versions/2.5/bin is included
even though it doesn't exist.

(I have the sage directory in my $PATH to begin with)

Here is what it looks like:

$ echo $PATH
/Users/bgranger/Sage/sage:
/Users/bgranger/Library/Python/2.5/bin:
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/usr/local/bin:

$ sage -sh
$ echo $PATH
/Users/bgranger/Sage/sage:
/Users/bgranger/Library/Python/2.5/bin:
/Users/bgranger/Sage/sage/local/Frameworks/Python.framework/Versions/2.5/bin:
 # shouldn't be here
/Users/bgranger/Sage/sage:                # repeat!
/Users/bgranger/Sage/sage/local/bin:   # should be towards the top
/Users/bgranger/Sage/sage:                # repeat!
/Users/bgranger/Library/Python/2.5/bin:  # my own thing repeated!
/usr/bin:
/bin:
/usr/sbin:
/sbin:
/usr/local/bin:

Is this a bug, or am I using this incorrectly?

Thanks?

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to