[sagemath] 01/01: Pass -l ecl when running `sage --maxima`

Ximin Luo infinity0 at debian.org
Sat Oct 15 12:58:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch master
in repository sagemath.

commit 9b72d7029918e97b8b3793eb4145483594f10be4
Author: Ximin Luo <infinity0 at debian.org>
Date:   Sat Oct 15 14:57:57 2016 +0200

    Pass -l ecl when running `sage --maxima`
---
 debian/patches/debian-maxima.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/patches/debian-maxima.patch b/debian/patches/debian-maxima.patch
index ea831c4..57b0e36 100644
--- a/debian/patches/debian-maxima.patch
+++ b/debian/patches/debian-maxima.patch
@@ -78,3 +78,14 @@
          raise RuntimeError('Can use the console only in the terminal. Try %%maxima magics instead.')
 -    os.system('maxima')
 +    os.system('maxima -l ecl')
+--- a/sage/src/bin/sage
++++ b/sage/src/bin/sage
+@@ -507,7 +507,7 @@
+ 
+ if [ "$1" = '-maxima' -o "$1" = '--maxima' ]; then
+     shift
+-    exec maxima "$@"
++    exec maxima -l ecl "$@"
+ fi
+ 
+ if [ "$1" = '-mwrank' -o "$1" = '--mwrank' ]; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git



More information about the debian-science-commits mailing list