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

Comment (by felixs):

 Replying to [comment:34 jhpalmieri]:
 > Is it subsumed by #14796?

 yes, in #14796, '$PATH' is used to locate executables. it is a good idea
 to to so, whether or not a dummy wall or a configuarable toplevel build
 system exists.

 ... and while you/someone are/is at it: the code may be reworded to

 {{{
 arg=${1/--/-}
 case $arg in
     -axiom|-combinat|-gap|-gp|-singular|-sqlite3|-twistd|-ecl|\
     -kash|-maxima|-mwrank|-M2|-scons|-python|-ipython|-R)
         shift
         exec "${arg#-}" "$@"
     ;;
     -lisp)
         shift
         exec "ecl" "$@"
     ;;
 esac
 }}}
 , so it will even fit on a single screen.

--
Ticket URL: <http://trac.sagemath.org/ticket/12627#comment:35>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to