Commit 13b8d731 authored by Antonio Rojas's avatar Antonio Rojas

Fix sagemath backend when there is no sage-env

Since sagemath 8.9 it is possible to run sage without sourcing sage-env (https://trac.sagemath.org/ticket/28225) so don't abort if it is not present.

Differential Revision: https://phabricator.kde.org/D24955
parent b62811ef
......@@ -8,8 +8,6 @@ elif [[ -f $SAGE_ROOT"/local/bin/sage-env" ]]; then
. "$SAGE_ROOT/local/bin/sage-env" >&2
elif [[ -f $SAGE_ROOT"/src/bin/sage-env" ]]; then
. "$SAGE_ROOT/src/bin/sage-env" >&2
else
exit 1 # We have a problem
fi
exec sage-ipython -i --simple-prompt
\ No newline at end of file
exec sage-ipython -i --simple-prompt
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment