#5852: The detection of SAGE_ROOT in $SAGE_ROOT/sage script should expand
symlinks
recursively
-----------------------------+----------------------------------------------
Reporter: tornaria | Owner: jdemeyer
Type: defect | Status: needs_work
Priority: major | Milestone: sage-4.7.2
Component: distribution | Resolution:
Keywords: | Work_issues:
Upstream: N/A | Reviewer:
Author: | Merged:
Dependencies: |
-----------------------------+----------------------------------------------
Comment(by jdemeyer):
Replying to [comment:19 jdemeyer]:
> Why do we set `SAGE_ROOT` inside `sage-env`? Given that `sage-env` is
only ever called when we already know `SAGE_ROOT` (i.e. we do `source
$SAGE_ROOT/local/bin/sage-env`).
Okay, I did find one counterexamples (I only looked in local/bin before):
- The top-level Makefile calls `sage-env` without first setting
`SAGE_ROOT`.
I also noticed that `data/extcode/sage/ext/mac-app/start-sage.sh` has its
own `SAGE_ROOT`-detecting code but it probably shouldn't and should use
`sage-env` instead.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5852#comment:20>
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.