Skip to content

Commit

Permalink
gh-35514: Don't force ecl lisp with maxima -l ecl on command line.
Browse files Browse the repository at this point in the history
    
Instead, use `maxima` which should run maxima under the default lisp.
This is consistet with what happens with `sage.interfaces.maxima`.

Note that `maxima_lib` needs maxima built with ecl, but the pexpect
interface to maxima works with any lisp and there are faster builds of
maxima (e.g. the one compiled with sbcl).

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
    
URL: #35514
Reported by: Gonzalo Tornaría
Reviewer(s): François Bissey
  • Loading branch information
Release Manager committed Apr 21, 2023
2 parents 20d2edd + cd011a1 commit 803c7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bin/sage
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ if [ "$1" = '-maxima' -o "$1" = '--maxima' ]; then
shift
maxima_cmd=$(sage-config MAXIMA 2>/dev/null)
if [ -z "${maxima_cmd}" ]; then
maxima_cmd="maxima -l ecl"
maxima_cmd="maxima"
fi
exec $maxima_cmd "$@"
fi
Expand Down

0 comments on commit 803c7aa

Please sign in to comment.