Ticket #5852: trac_5852.patch
File trac_5852.patch, 522 bytes (added by , 12 years ago) 


sage3.4/sage
# User Gonzalo Tornaria <tornaria@math.utexas.edu> Fixed #5852: on systems where "readlink f" is supported, use that so the path for $SAGE_ROOT is fully canonicalized.
old new 14 14 fi 15 15 16 16 if [ "$SAGE_ROOT" = "....." ]; then 17 SAGE_ROOT=`readlink nf "$0" 2> /dev/null`  \ 17 18 SAGE_ROOT=`readlink n "$0" 2> /dev/null`  \ 18 19 SAGE_ROOT=`realpath "$0" 2> /dev/null`  \ 19 20 SAGE_ROOT="$0"