#12627: The spkg/bin/sage script engraves paths to executables
--------------------------------+-------------------------------------------
       Reporter:  Snark         |         Owner:  leif           
           Type:  defect        |        Status:  needs_info     
       Priority:  major         |     Milestone:  sage-5.0       
      Component:  scripts       |    Resolution:                 
       Keywords:  rd2           |   Work issues:                 
Report Upstream:  N/A           |     Reviewers:  R. Andrew Ohana
        Authors:  Julien Puydt  |     Merged in:                 
   Dependencies:                |      Stopgaps:                 
--------------------------------+-------------------------------------------

Comment (by Snark):

 1. the .sagerc trick depends on setting PATH, but my point is precisely
 that spkg/bin/sage doesn't use PATH, but instead points directly to where
 it insists things must be (one of my dirty definitely-not-for-upstream
 patch was precisely modifying sage-env to set PATH, LD_LIBRARY_PATH and
 the rest...) ;
  2. "test -x" is nice when you know exactly where things must be ; but if
 they can be in another place, then that doesn't fly. "command -v" is
 portable and will find things in PATH.

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