Hi, a solution which "removes unwanted directories from the paths(s)" would use something like (untested! I just googled http://www.faqs.org/docs/abs/HTML/string-manipulation.html):
path_to_clean = "$PATH" dylibpath_to_clean = "$DYLD_LIBRARY_PATH" ${path_to_clean//"/opt/local"*:/""} ${dylibpath_to_clean//"/opt/local"*:/""} ${path_to_clean//"/sw"*:/""} ${dylibpath_to_clean//"/sw"*:/""} PATH = path_to_clean && export PATH DYLD_LIBRARY_PATH = dylibpath_to_clean && export DYLD_LIBRARY_PATH But as I have been "seating myself between the chairs" already by reopening #4125, I kindly ask to use the opportonity of SD 10 to first sort out what exactly a potential enhanced fix is to achieve, before more work is invested. Cheers, gsw --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---