#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 leif):

 Replying to [comment:2 jdemeyer]:
 > I guess you mean
 {{{
 NORMALIZED_PATH=`cd "$WHEREVER"; pwd -P`
 }}}
 > because otherwise the "NORMALIZED_PATH" from the subshell will not be
 seen by the main shell.

 Yes, indeed I meant something like:
 {{{
 #!sh
 MY_PATH=${0%/*}

 CANON_PATH=`cd "$MY_PATH" && pwd -P`
 }}}

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