On Mon, May 18, 2009 at 3:03 PM, Brian Granger <[email protected]> wrote: > > 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?
Well I don't like it. So it sounds like a bug to me. William --~--~---------~--~----~------------~-------~--~----~ 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-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
