Changes between Version 27 and Version 36 of Ticket #5852
 Timestamp:
 11/15/11 09:57:46 (10 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #5852
 Property Cc kini added

Property
Milestone
changed from
sage4.4
tosage4.8

Property
Component
changed from
distribution
toscripts

Property
Summary
changed from
The detection of SAGE_ROOT in $SAGE_ROOT/sage and local/bin/sageenv should expand symlinks recursively
toProperly canonicalize $SAGE_ROOT

Ticket #5852 – Description
v27 v36 5 5  The code to detect `SAGE_ROOT` inside `sageenv` does not canonicalize the pathname at all. This should be fixed as well. (The only case where `sageenv` is run without `SAGE_ROOT` being set is when testing Sage from the `Makefile`, i.e. when running `make ptest` or similar.) 6 6 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).7 Note that we should do this in a portable way, without using `realpath`, `readlink f` or the likes. 8 8 9 9 See also #11704, which solves the same problem for `DOT_SAGE`.