#11707: Remove `readlink -n` and `realpath` from $SAGE_ROOT/sage
------------------------+---------------------------------------------------
   Reporter:  jdemeyer  |          Owner:            
       Type:  defect    |         Status:  new       
   Priority:  major     |      Milestone:  sage-4.7.2
  Component:  scripts   |       Keywords:  SAGE_ROOT 
Work_issues:            |       Upstream:  N/A       
   Reviewer:            |         Author:            
     Merged:            |   Dependencies:            
------------------------+---------------------------------------------------

Comment(by tornaria):

 Replying to [comment:6 tornaria]:
 > Thus, removing the use of `readlink -n` will break some common usage
 while not fixing

 The common usage I refer to is the following:

  1. I install sage x.y in a directory {{{~/sage/sage-x.y}}}
  2. I make a symlink {{{~/bin/sage -> ~/sage/sage-x.y/sage}}} so that the
 sage command is available in my path [note the full path symlink].

 This works fine right now, and would break if you remove "readlink -n".

 ----

 NOTE: When "~/bin/sage" is a symlink with a relative path symlink, this
 doesn't work, and "readlink -f" would work. However, this leads to other
 breakup (this is the reason why #5852 was reverted and #6146 was not
 developed further). If you want to fix this you should start with #5852
 (comment 12).

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