Changes between Version 27 and Version 36 of Ticket #5852


Ignore:
Timestamp:
11/15/11 09:57:46 (10 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5852

    • Property Cc kini added
    • Property Milestone changed from sage-4.4 to sage-4.8
    • Property Component changed from distribution to scripts
    • Property Summary changed from The detection of SAGE_ROOT in $SAGE_ROOT/sage and local/bin/sage-env should expand symlinks recursively to Properly canonicalize $SAGE_ROOT
  • Ticket #5852 – Description

    v27 v36  
    55 - The code to detect `SAGE_ROOT` inside `sage-env` does not canonicalize the pathname at all.  This should be fixed as well. (The only case where `sage-env` is run without `SAGE_ROOT` being set is when testing Sage from the `Makefile`, i.e. when running `make ptest` or similar.)
    66
    7 Note that we should do this in a portable way, without using `realpath`, `readlink -f` or the likes.  See attachments for two bash scripts to solve this problem (either of them should suffice).
     7Note that we should do this in a portable way, without using `realpath`, `readlink -f` or the likes.
    88
    99See also #11704, which solves the same problem for `DOT_SAGE`.